Skip to content

Cursor does not match this request (cursor_context_mismatch) ​

HTTP 400Orion /v3 ProblemCode: cursor_context_mismatch
Type URI: https://orion.stellarchain.io/problems/cursor_context_mismatch

An opaque `/v3` pagination cursor was used with different query parameters or on a different endpoint than the one that issued it.

How to Resolve cursor_context_mismatch

  1. Inspect the status (400), code (cursor_context_mismatch), and detail fields in the JSON response.
  2. For 400 validation errors (invalid_*), verify query parameters against the Endpoints Reference or Statistics Catalog (GET /v3/statistics).
  3. For 404 errors (*_not_found), confirm the resource exists on Stellar Pubnet.
  4. For 409, 429, 503, or 504 transient states, retry with exponential backoff.

Example Response & Client Handling ​

json
{
  "type": "https://orion.stellarchain.io/problems/cursor_context_mismatch",
  "title": "Cursor does not match this request",
  "status": 400,
  "detail": "Cursor does not match this request",
  "code": "cursor_context_mismatch"
}
typescript
const res = await fetch('https://pubnet.stellarchain.io/v3/statistics');
if (!res.ok) {
  const problem = await res.json();
  if (problem.code === 'cursor_context_mismatch') {
    console.error('Orion /v3 Problem [cursor_context_mismatch]:', problem.detail);
  }
}
bash
curl -i -s "https://pubnet.stellarchain.io/v3/statistics" \
  -H "Accept: application/json"

← Back to All 53 Orion /v3 Problem Codes

Open-Source Stellar Horizon & Orion Documentation under MIT License.