GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): Cursor status says when the account's plan is rejected by pedrozimmermannsoares · Pull Request #15569 · pingdotgg/t3code

Conversation

@pedrozimmermannsoares

@pedrozimmermannsoares pedrozimmermannsoares commented Oct 4, 2026

Copy link
Copy Markdown

Problem

When Cursor rejects a free-plan account, the Cursor provider shows Unavailable with "Cursor SDK catalog request failed. Check server logs for details." The reason is only in server.trace.ndjson: the SDK's /v1/me and /v1/models return 403 with code plan_required. Reported in #15075.

Change

checkCursorProviderStatus already special-cases authentication failures. It now also checks the catalog failure's cause. A CursorSdkError with code plan_required gets "Cursor's SDK is not available on the free plan. Upgrade the Cursor account to Pro." The wording follows Cursor's own message for that code: "Cloud Agent is not available for free users. Please upgrade to Pro."

Status stays error and auth stays unknown, as before. Other failures keep the generic message.

Scope and approval

Fixes #15075. It isn't triaged yet. I'm submitting it as a very small, focused fix for an obvious bug: the provider status hides a known, non-retryable reason that the SDK already reports with a stable code. It changes one message in one server function, plus a test. No contract, client, or default changes.

It doesn't change whether free accounts can use Cursor. The report's workaround of staying on a pre-SDK build is a separate question for maintainers.

Verification

  • New test says when Cursor rejects the account's plan in CursorProvider.test.ts. It uses a CursorSdkError with code: "plan_required" and status: 403, the same shape as the report's log. On main it fails: the generic "catalog request failed" message is returned. With the fix it passes.
  • vp test run apps/server/src/provider/Layers/CursorProvider.test.ts apps/server/src/provider/Layers/CursorSdkCatalog.test.ts: 10 passed.
  • vp lint on both files: no findings. vp run --filter t3 typecheck: exit 0.
  • Real SDK check, not committed. I pointed the real @cursor/sdk 1.0.31 at a local HTTP server through CURSOR_BACKEND_URL. That server answered every request with 403 {"error":{"code":"plan_required","message":"Cloud Agent is not available for free users. Please upgrade to Pro."}}. I then ran checkCursorProviderStatus with the real CursorSdkCatalogLive. The SDK requested GET /v1/me.
main this PR
status / auth.status error / unknown error / unknown
message "Cursor SDK catalog request failed. Check server logs for details." "Cursor's SDK is not available on the free plan. Upgrade the Cursor account to Pro."

Not checked: a real free-plan Cursor account against Cursor's API. I don't have one.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pedrozimmermannsoares
fix(server): Cursor status says when the account's plan is rejected
908bc80
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Oct 4, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 4, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 908bc80

Macroscope's review found this PR approvable — This is a small, self-contained provider-status bug fix that maps an existing plan_required SDK error to a clear upgrade message without changing successful requests, authentication handling, or provider behavior. A focused regression test covers the new path.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (1)
docs/internals/effect-services.md — auto-discovered

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: pingdotgg/t3code/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7515bf70-28a5-4e87-aaa7-36a0de825bbb
📥 Commits

Reviewing files that changed from the base of the PR and between eac52f0 and 908bc80.

📒 Files selected for processing (2)
  • apps/server/src/provider/Layers/CursorProvider.test.ts
  • apps/server/src/provider/Layers/CursorProvider.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The Cursor provider now identifies SDK catalog failures with code plan_required and reports that the SDK requires a Pro plan. A test verifies the error status and message for a 403 failure.

Changes

Cursor plan status

Layer / File(s) Summary
Detect and report plan-required failures
apps/server/src/provider/Layers/CursorProvider.ts, apps/server/src/provider/Layers/CursorProvider.test.ts
The provider detects CursorSdkError failures with code plan_required and reports a Pro-plan message. The test checks the error status and message for a 403 failure.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Medium

Suggested reviewers: maria-rcks

Merge Risk: ⚪ Minimal · up to 908bc

Cursor status will now say when a free plan is rejected. Other failures keep their current messages. No merge-blocking risk is apparent.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the fix: Cursor status now explains when the account's plan is rejected.
Description check ✅ Passed The description covers the problem, change, scope and approval rationale, and verification. It reports specific test and lint results, a real-SDK check, and the limitation that a real free-plan accoun…
Linked Issues check ✅ Passed Issue #15075 requires provider status to explain a Cursor plan_required account rejection instead of showing the generic catalog error. checkCursorProviderStatus now recognizes a CursorSdkError …
Out of Scope Changes check ✅ Passed The diff changes only checkCursorProviderStatus and adds a focused test for issue #15075. Both changes directly support the requested status message. No unrelated changes appear in the diff.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nkoynov nkoynov mentioned this pull request Oct 5, 2026
fix(server): failed Cursor turns show Cursor's reason #16146
Merged
@juliusmarminge juliusmarminge mentioned this pull request Oct 5, 2026
[Bug]: Cursor SDK API requirements are strict #16224
Closed
2 tasks done
@maria-rcks

maria-rcks commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by claude-opus-5-5 on behalf of Maria

Hi! We are cleaning up open PRs, and this one does not say which model or harness was used to create it. If this change is really important, we recommend rebuilding the PR with a newer model and noting the model and harness in the PR description.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@maria-rcks maria-rcks closed this Oct 11, 2026
@whoisaldo whoisaldo mentioned this pull request Oct 15, 2026
[Bug]: Signing in to Cursor with a free-plan account loops back to "Not authenticated" and never says why #19766
Closed
2 tasks done
@only21mil only21mil mentioned this pull request Oct 25, 2026
fix(provider-cursor): Cursor keeps working when a team blocks /v1/me #24639
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Cursor shows "SDK catalog request failed" when the account plan is rejected (403 plan_required)

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@pedrozimmermannsoares @maria-rcks
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.