auth.csrf
HTTP 403 Security token missing
When it happens
Section titled “When it happens”A change was sent without a valid CSRF token.
What to do
Section titled “What to do”Reload the page. API clients fetch GET /portal/api/auth/csrf and send X-CSRFToken.
Sending the same request again gives the same answer until the cause is fixed.
Details
Section titled “Details”- HTTP status: 403 Forbidden
- Where you can meet it: Customer portal
- Code:
auth.csrf(stable: match on the code, not on the title or detail text)
Example response
Section titled “Example response”{ "type": "https://docs.zemodata.com/errors/auth.csrf", "title": "Security token missing", "status": 403, "code": "auth.csrf", "detail": "…", "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S", "errors": []}See Errors for how problem responses work, and all error codes.