generative-ai-docs
generative-ai-docs copied to clipboard
API request return a 500 Server Error frequently
this is what i get and i checked and made sure that my key is in the env variables
Traceback (most recent call last): File "C:\Users\sosman\AppData\Local\Programs\Python\Python311\Lib\site-packages\spacy_llm\models\rest\palm\model.py", line 64, in _request r.raise_for_status() File "C:\Users\sosman\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://generativelanguage.googleapis.com/v1beta3/models/text-bison-001:generateText?key=AIzaSyB2CE2CyMvaa_LPbboyk09rZgTEkmoZoTk
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "e:\Projects\IV&VTesting\Attempts\Variable Classification\NERSpacy\demo.py", line 41, in
It happened to me too right now. I used the API before and it was never a problem..
Yes it works a min and then goes down again
Yes it works a min and then goes down again
I also have this problem ....
Who can help us ?
I also have this problem
Also have the same problem with latest gemini-1.5-pro