Unable to Proceed Due to Image Processing Error – Stuck in Loop

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m encountering a blocking issue when using Cursor. I uploaded a screenshot of some build errors along with a short message. However, I received the following response:

The image could not be processed by the model provider. Supported formats are jpeg, png, gif, or webp.
(Request ID: d233a1c1-66cd-4283-91c9-629f44e159e2)

Since then, I’ve been unable to proceed. Cursor continues to show the same error repeatedly and won’t allow me to move forward with development or issue new prompts. The UI seems to be stuck in this state.

I’ve verified that the image is in PNG format, so I’m not sure what triggered the failure or how to clear this state.

Steps I’ve tried:
Restarting Cursor
Re-uploading a different image

Any help resolving this would be greatly appreciated. Please let me know if further logs or actions are needed.

Steps to Reproduce

Open Cursor and initiate a conversation with the AI.

Upload a PNG screenshot containing build errors.

Add a short text message alongside the image.

Submit the message to the AI.

Observe the error:
“The image could not be processed by the model provider. Supported formats are jpeg, png, gif, or webp.”

Attempt to continue the session — Cursor repeats the same error and does not allow new prompts or interactions.

Restarting the app or trying other inputs does not resolve the issue.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.28 (Universal)
VSCode Version: 1.99.3
Commit: adb0f9e3e4f184bba7f3fa6dbfd72ad0ebb8cfd0
Date: 2025-10-01T02:45:21.769Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0

For AI issues: which model did you use?

Claude-4.5-sonnet

For AI issues: add Request ID with privacy disabled

Request ID: d233a1c1-66cd-4283-91c9-629f44e159e2

Does this stop you from using Cursor

Yes - Cursor is unusable

5 Likes

Hey, thanks for the report. Does creating a new chat resolve the issue?

hi @deanrie ,
Yes, I tried creating a new chat, but that didn’t resolve the issue.

I also tried clearing all previous chats, that seemed to work temporarily. However, the issue came back when I asked the agent to use an SVG file for one of my components. That’s when the error started appearing again.

This is no longer a complete blocker, as I’m currently able to run the agent. However, the issue consistently occurs whenever I attach an image or ask the agent to work with SVGs. At that point, it throws the same image processing error and gets stuck.

Unfortunately, I’m not able to attach any screenshots as a reference for agent to use. Please look into this and let me know how I can help further.

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Unsupported image type: supported formats are jpeg, png, gif, or webp.

Agent (gpt-5-thinking-high) is trying to read an SVG by apparently sending it as image via API, instead of trying to read it as code.

There’s no way to tell it to read it as code, it just keeps giving the same error “Unsupported image type: supported formats are jpeg, png, gif, or webp.” (Clarification - if I start a new chat and explicitly tell the Agent to not read it as image, but as code - it will do so. It’s just impossible to correct the behavior once the problem has occurred, it will queue any message and try to continue reading the SVG as image - before it gets the chance to get to the queued correction message)

uSteps to Reproduce

Ask something about an SVG image, the Agent might attempt to read it as image instead of reading as code (my guess as to what is happening)

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.28
VSCode Version: 1.99.3
Commit: adb0f9e3e4f184bba7f3fa6dbfd72ad0ebb8cfd0
Date: 2025-10-01T02:45:21.769Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-59-generic

For AI issues: which model did you use?

gpt-5-thinking-high

Does this stop you from using Cursor

No - Cursor works, but with this issue

I am facing same issue

I am also running into this

1 Like

In my case it always happens when it tries to read an SVG file type

3 Likes

Same issues here.

same here if I have javascript code that ‘imports’ an SVG I get that same error, or if I even mention I want to use an SVG in the prompt.

Even if you have a inline SVG or quote one in a prompt will be an issue.

Thanks for the info. We’re already working on a fix.

2 Likes

I have the same issue and get it in all the models, not only GPT. I see that sometimes it does run when it needs to do a task list to execute and it passes. but if it need to read the file before execution it stop with that message.

I, too, keep getting hit with this error.

any update about it? or even estimation?

I found a temporary workaround the issue of SVGs.
Cursor give the error when it only “read” the svg files, so instead of that it must use the cat command to see the content of them. so the prompt at start:

don’t read the SVG files directly! you can’t!!!
just use `cat` command to see the content of them!

make him to read .svg using cat only and it working for me. it completed the tasks!

7 Likes

^^
Instructing the model not to read the SVG content or image resolves for now.

For me it does not work since a couple days ago.

For those like me for which the workaround did not work initially (of instructing the model not to read directly the svg but to cat it), remember to create a new chat for that. Once the chatbox tries to read the svg and fails, the chat becomes basically unusable for that session (it fails repeatedly with the same error)

2 Likes

Good temporary workaround, thanks!

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The cursor agent can create SVGs. However, if I click “review next file” button, it takes me to the SVG and there is not button shown to accept the changes to the SVG. If I have more files that need to be reviewed, I cannot ever get past the current SVG file to “review next file”. This makes it so I can’t finish reviewing all the files that were changed by the agent.

Steps to Reproduce

Have the agent make changes to multiple files including creating/editing an SVG. Click keep changes on each file and then review next file until you get to an SVG. You shouldn’t be able to proceed forward any further after that once on the SVG.

Expected Behavior

I can click “keep all changes” and then “review next file” when on an SVG.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.40
VSCode Version: 1.99.3
Commit: df79b2380cd32922cad03529b0dc0c946c311850
Date: 2025-10-09T02:55:11.735Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 25.0.0

Does this stop you from using Cursor

Yes - Cursor is unusable

look at the workaround solution above.