Getting started

Errors

Every error has the same shape: a type your code can check, and a message a person can read.

Error
{  "error": {    "type": "cannot_sell",    "message": "Only 3 General tickets are left for Fri, Dec 5."  }}
400
missing_parameter, bad_parameter, bad_json, bad_cursor
Something in the request needs fixing; the message says what.
401
missing_key, bad_key
No key, a mistyped one, or a revoked one.
403
pro_required, read_only_key
The organization isn't on Pro, or the key can only read.
404
not_found, no_such_endpoint
Nothing with that ID belongs to your organization, or no such path.
409
in_progress
The same Idempotency-Key is still being handled.
422
cannot_sell, cannot_comp, cannot_refund, cannot_move, invalid
CocoScout couldn't do it, and says why.
429
slow_down
Over the rate limit. Retry-After says when to try again.