StoreLyne API docs 2026-11

csrf_failed

The X-CSRF-Token header is missing or does not match. Reload the page and try again.

HTTP status403
Typepermission_error
RetryNo. Fix the request first.

Example

403
{
  "error": {
    "type": "permission_error",
    "code": "csrf_failed",
    "message": "The X-CSRF-Token header is missing or does not match. Reload the page and try again.",
    "param": null,
    "trace_id": "tr_01JCG8ZQ5S7T0V4X8K2M3N6P9R",
    "docs": "https://docs.storelyne.com/errors/csrf_failed"
  }
}
Quote the trace_id when you contact support. It finds this exact request in our logs.