Getting ERROR_RESOURCE_EXHAUSTED working on my project

Hi everyone,

I am rather new to Cursor so I may have a faulty understanding of how the application is supposed to work, but I feel as though I am currently being denied access to work on a specific repository when I shouldn’t be.

Now it says that I have only reached 56% of my API usage and 11% of my auto + composer usage, however, when trying to prompt new plans / updates / ask in my agents window, I get prompted with this error no matter for most all models I am using:

Request ID: d979583d-1ae6-4284-8aa6-902e6e044efa

{“error”:“ERROR_RESOURCE_EXHAUSTED”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“additionalInfo”:{},“buttons”:[],“planChoices”:[]},“isExpected”:true}

Weirdly, Opus 4.7 produces this for some reason:
Request ID: 76d4b46e-e97e-415e-89b6-1e5485dea915
[internal] Unable to parse image: [object Object]
SIe: [internal] Unable to parse image: [object Object]

Either way, I am not allowed to work on my project anymore. I actually overcame this problem for a little by Using FileOpen Folder and opened just the project repo I wanted to work on (as previously, my agent hcats belonged to a greater set of folders for various beginner projects I was making with cursor). However, after some time, this error appeared again. Now I can chat with another agent in a new window right now, which is odd, though Im not sure for how long. My best guess is I have reached usage limits, but its strange why its only showing as 24% total usage with the breakdown that I explained above.

Please let me know if I can provide any more clarification, and thank you for your help!

Hey, this isn’t about limits. Your usage is fine. The issue is that this specific chat history has corrupted image data stuck in it, that’s why you see Unable to parse image: [object Object]. Every new message in this chat replays the broken data, so the provider drops the request. That’s why you get ERROR_RESOURCE_EXHAUSTED and “Unable to reach the model provider”. I agree the error message is misleading.

Workaround: start a new chat. Unfortunately, you can’t fix this broken conversation since the history already contains corrupted data. New chats should work normally, which is why it works fine in another window.

This is a known bug on our side. Related thread: [Internal Error] Unable to parse image.