Gemini API in cloudflare worker
Getting an error while using free gemini api from google ai studio in cloudflare worker
3 Replies
Looks like a google error that you can't call the API from the location where the worker handled the request
Yeah, it's not available in EU regions and my worker may run in those regions 🙂
can i force worker to run in a specific region?
The only official way is with the jurisdiction on ENT. I think there is a hacky workaround where if you make a D1 DB in the US it will run there but I have no idea if that still works