-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gemini REST API implemented in NodeJs application works on localhost but fails in production #258
Comments
So I attempted to send this API request to Gemini API via my server terminal.. like this:
and here was the outcome:
My server location is England, so I asked Google Bard the below:
The reponse:
I critically need this API to implement live chat for an urgent project. Does this Google Bard response mean the end of the road for me? Any help would be appreciated. |
https://ai.google.dev/available_regions Is there any workaround for me? Though my server is situated in England, I am not. I am in Africa |
That's sad. Are people from UK still can't get access as of now? |
Description of the bug:
Gemini REST API implemented in NodeJs application works on localhost but fails in production. Returns 502 error seen below
Gemini endpoint used: https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=$API_KEY
Error log in server Apache Ubuntu 20.04 gives
Can I get any help to resolve this urgently please?
Thanks
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: