Gemini 2.5 Pro API Error

I’ve run into a bug where I cannot use google gemini 2.5 pro at all. Whether I have an API key or I’m using the default cursor provided model. What’s weird is that gemini 2.5 flash works perfectly fine.

It appears that the error is due to an unrecognized parameter “session_id” is being sent to the api. Has anyone run into this or found a fix?

We encountered an issue when using your API key: Provider was unable to process your request
Request failed with status code 400: {
“error”: {
“message”: “Unrecognized request argument supplied: session_id”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
}
}

Update on this actually, it appears that not neither of the Claude’s models work either…