Error handling deep link: Invalid text for prompt

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’m encountering an error when using sharing deep links / web links, even when the prompt is well under the 8,000-character limit.

For reference, this example link (https://dub.sh/5nADDgz) contains only 4,391 characters and also works correctly in the website playground: Deeplinks | Cursor Docs

Given that the prompt is within the documented character limit, it’s unclear what is causing the deep link to fail.

Steps to Reproduce

Visit https://dub.sh/5nADDgz to see the deeplink and open it in cursor. It will say error handling deep link: invalid text for prompt

Expected Behavior

The deeplink is valid and should work.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.41
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known issue with URL parsing in deeplinks. It’s already been reported and the team is aware.

Also, looks like you reported the same thing about a month ago: Parsing issues with Deeplinks

The issue is in how Cursor decodes URL parameters. Some valid prompts are incorrectly marked as invalid. The team is working on a fix, but there’s no ETA yet.

1 Like

Another smallest reproducible example i found is this

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