Errors

HTTP status codes and error responses.

Error format

{ "message": "Human-readable description" }

Session minting

StatusMeaning
400Invalid request body
401Invalid or missing API key (/v1/sessions)
403Origin not allowed, experience not public, or missing Origin header
404Experience not found
429Rate limit or quota exceeded
503Session minting failed (server error)

Common 403 causes (public sessions)

  • Origin header missing — browser must send origin on cross-origin requests
  • Origin not on experience allowlist
  • Experience is not marked public

Runtime (SDK internal)

StatusMeaning
401Invalid or expired session token

Runtime routes (/player/*) are internal to the SDK — integrators typically see these as SDK errors, not raw HTTP.