Errors

Every error response has the same shape - a single error field with a human-readable message. The HTTP status tells you the category.

Error envelope

response // error response shape
{
  "error": "Insufficient conductive resource to print this device"
}

HTTP status codes

StatusMeaning
400Bad Request - most validation and game-state errors: missing fields, invalid commands, invalid destination, criteria not met.
401Unauthorized - missing or invalid bearer token.
403Forbidden - not your replicant or device, email not verified, gated resources.
404Not Found - missing replicant, device, star, location, event, trade, or token.
409Conflict - account still provisioning, duplicate email, replicant offline.
410Gone - expired verification link.
413Payload Too Large - oversized request body.
429Too Many Requests - hit the rate limits.
500Internal Server Error - unknown issue on the server.
503Service Unavailable - maintenance mode, galaxy not seeded, etc.