Hello GitHub community,
Executing the Gemini API code snippet causes an error in my Google Colab repository: code
** "User location is not supported for the API use without a billing account linked."**
Can anyone help?
Run Gemini-pro API request in Python
I post in case it could be helpful for others who landed here like me. I had the same error when testing Google AI Studio and Gemini API but on my local environment.
Because I'm based in Germany, I found out that in European countries the unpaid tier of Gemini API is not available (list here).
I didn't want to attach a billing account so I found as workaround to change region via VPN (e.g. switched to Turkey).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With