Cursor CLI non interactive mode stopped working

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

when using cursor-agent command everything seems to work fine, thou adding -p option gives no answer. Tested on mac and debian

Steps to Reproduce

cursor-agent -p “find and fix performance issues” --model “gpt-5”

Operating System

MacOS
Linux

Current Cursor Version (Menu → About Cursor → Copy)

cursor-agent -version
2025.10.02-bd871ac

For AI issues: which model did you use?

All models

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. Could you run the agent with the --debug flag and share the logs?

— Cursor Agent Debug Session 2025-10-04T06:51:54.753Z —
{“event”:“debug-session-start”,“port”:43111,“basePort”:43111,“attempts”:1,“ephemeralFallback”:false,“directory”:“/var/folders/2_/v8rp202s3p716rs05t7173l00000gn/T/cursor-agent-debug-y2xFA7”,“logFile”:“/var/folders/2_/v8rp202s3p716rs05t7173l00000gn/T/cursor-agent-debug-y2xFA7/session.log”,“pid”:33780,“startTime”:“2025-10-04T06:51:54.756Z”}
[2025-10-04T06:51:55.246Z] console.backend {“level”:“info”,“message”:“[EVENT] request_sent”,“contextPath”:[“console”],“metadata”:{“source”:“console.log”}}
[2025-10-04T06:52:01.010Z] otel.error {“stack”:“OTLPExporterError: Bad Request\n at IncomingMessage. (file:///Users/esku/.local/share/cursor-agent/versions/2025.10.02-bd871ac/index.js:3775:25934)\n at IncomingMessage.emit (node:events:519:35)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)”,“message”:“Bad Request”,“code”:“400”,“name”:“OTLPExporterError”,“data”:“{“error”:“Trace spans collection is not enabled for this user”}”}

1 Like

the problem still persists

Thanks, I’ve already forwarded this to the team.

1 Like

Hello @deanrie

I am having the same issue. I am on the pro plan. Stuck on generating when asking a followup question

otel.error {"stack":"OTLPExporterError: Bad Request\n at IncomingMessage.<anonymous> (file:///home/rick_men/.local/share/cursor-agent/versions/2025.10.02-bd871ac/index.js:3775:25934)\n at IncomingMessage.emit (node:events:519:35)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is not enabled for this user\"}"}
2025-10-08T09:05:11.683
colorMode ansi256
2025-10-08T09:05:11.683
isLightTheme false
2025-10-08T09:05:16.919
otel.error {"stack":"OTLPExporterError: Bad Request\n at IncomingMessage.<anonymous> (file:///home/rick_men/.local/share/cursor-agent/versions/2025.10.02-bd871ac/index.js:3775:25934)\n at IncomingMessage.emit (node:events:519:35)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is not enabled for this user\"}"}
2025-10-08T09:10:22.717
paste-event {"kind":"bracketed","length":211,"preview":" target.setAID(source.getAffAid());\n target.setAffClk(sou","hexSample":"20 74 61 72 67 65 74 2e 73 65 74 41 49 44 28 73 6f 75 72 63 65 2e 67 65 74 41 66 66 41 69 64 28 29 29 3b 0a 20 20 20 20 20 20 20 20 74 61 72 67 65 74 2e 73 65 74 41 66 66 43 6c 6b 28 73 6f 75"}
2025-10-08T09:10:28.057
console.backend {"level":"info","message":"[EVENT] request_sent","contextPath":["console"],"metadata":{"source":"console.log"}}
2025-10-08T09:10:33.269
otel.error {"stack":"OTLPExporterError: Bad Request\n at IncomingMessage.<anonymous> (file:///home/rick_men/.local/share/cursor-agent/versions/2025.10.02-bd871ac/index.js:3775:25934)\n at IncomingMessage.emit (node:events:519:35)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is not enabled for this user\"}"}

I am using cursor-agent 2025.10.02-bd871ac on windows WSL

Do you think this is the same issue reported on this thread? If yes, apologies for troll-like behaviour.

Can you suggest if I can downgrade (if yes, to which version) the cursor-agent terminal so that this issue goes away? Also any idea when this can be fixed?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.