Comments (2)
Hi, @YassineBouzid.
I guess you're getting this error trying to run the script from the #1 Gemini Pro API starter tutorial, right?
Unfortunately, the Gemini API is not available in any country. See the Available regions to see if your country is listed there.
In fact, I got an identical error while I was preparing the code for the tutorial. I simply used a VPN to connect to the US. The error was gone.
Let me know if this solves your problem.
from ai-playground.
Hi, @rokbenko.
Thank you for your prompt response and the valuable workaround suggestion. I've tested the Gemini Pro API on my local machine, and it's working flawlessly even without a VPN.
However, the issue seems to be specific to the web host I'm using, where running the API is not allowed. I reached out to their support team to migrate my website to another cluster where the API is permitted, but unfortunately, they mentioned that it's not possible.
In their response, they suggested using a proxy server or VPN if it's allowed by Google. I'm currently exploring these options to ensure seamless API integration. If you have any additional insights or recommendations, I would greatly appreciate them.
Thanks again for your assistance.
from ai-playground.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-playground.