Skip to main content
All errors return JSON in this shape:

Status codes

400

  • 400 response
  • Invalid request (missing prompt, too many mentions or attachments, currentHtml too long).
  • Mcp-Session-Id header missing.
  • Missing or invalid request.
  • Validation error
  • sessionId query param missing.

401

  • 401 response
  • Not signed in.
  • OAuth token missing or invalid.

403

  • 403 response
  • Attachments without a plan that includes them.
  • Missing, invalid or expired token
  • Session belongs to a different user.

404

  • 404 response
  • No active session for the given session ID.
  • Not found
  • Unknown client identifier.

409

  • 409 response

410

  • 410 response

413

  • 413 response

415

  • 415 response

422

  • 422 response

429

  • 429 response
  • AI usage limit reached, or the plan has no AI.
  • Rate limited

500

  • 500 response

502

  • 502 response

503

  • Extension not yet built on this server.