Preview Fails with "does not support previewing code using googleapis"

Hi all, I’m hitting a snag with v0.dev’s preview feature for my app, which schedules Google Calendar events between two users using the google calendar api.

The preview fails with the error: “v0 does not currently support previewing code using googleapis.” My setup uses a React frontend and should be using server-side Vercel API route. I added the service account api info as environment variables to the project and told v0 explicitly to stick to server side to avoid this preview fail issue.

Not sure what I am doing wrong, admittedly I am not too familiar with how vercel works so there’s hopefully an easy fix.

Let me know if there’s any specific information you need from me to help me trouble shoot this issue or implement it correctly. Thank you!

Hi, @realjuangalt :wave:

Thank you for sharing this! We are aware of this limitation, and the team are working on fixing this.

Appreciate your patience! We’ll loop back with updates.

I see, is there no way I can implement the google apis without losing preview at all? just so I don’t spend more time trying to work around it.

Also, any insight into what time line we are looking for the fix? as I was hoping for this to be a quick deployment.

Thank you!

has there been a fix to this

I am nearly done all my coding and I got this erorr as I was puttign environment fields in, but not google ones. Those have been in for 2+ weeks, any advice?

Hi, @arboroffice! I’ve moved your topic to this one as it’s about the same issue. We don’t have a fix for this just yet, but I just let the v0 team know. :folded_hands: