I am not able to use newer experimental models as well as Gemini 2.0 pro. Everything is working at Gemini 2.0 flash .
Got this error whenever i change the models from gemini 2.0 flash to above mentioned ones.
Retry 3/3 for frame frame-0013.png after error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-2.0-pro-exp-02-05:generateContent: [404 Not Found] models/gemini-2.0-pro-exp-02-05 is not found for API version v1, or is not supported for generateContent.
1 Like
Hi @justhere, Welcome to forum!!
Were you able to use both models (2.0 pro & experimental) in the beginning and now you are facing problem or it was from the beginning??
Thanks.
1 Like
Hello @Govind_Keshari , I have been facing this issue from the beginning.
1 Like
I will get back to you on this, wait for sometime (~2 days). Meanwhile, you can retry also, it might be an intermittent issue.
2 Likes
Hi @justhere
Because that model is not available in that API version.
Kindly check the list of available models.
GET https://generativelanguage.googleapis.com/v1/models?key=API_KEY
The model you are looking for is listed in the v1beta
API
GET https://generativelanguage.googleapis.com/v1beta/models?key=API_KEY
Cheers
2 Likes
Hi,
The error message even tells you that.
2 Likes
Thanks, it’s working now!
2 Likes
Hi @justhere
Kindly mark an answer as Solution, if you don’t mind.
Appreciated.
Cheers
2 Likes