Error code

Missing or wrong CSRF token

A request made with the portal's session cookie did not carry the session's CSRF token.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
CSRF_REJECTED
Management API
403

What to do

Reload the portal and try again. A script should use a project token instead of a browser session.

The response

Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.

{
  "code": "CSRF_REJECTED",
  "type": "https://coho-cms.com/errors/csrf-rejected",
  "title": "Missing or wrong CSRF token",
  "status": 403,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}

Every code

The error codes, in a table with a filter.