If an API call does not behave as expected, start with the HTTP status code.
Common Status Codes
Status | Meaning | What to check |
400 Bad Request | A required value is missing or a parameter is malformed. | URL encoding, required fields, filter names, timestamps and page values. |
401 Unauthorized | The token is missing, expired, revoked or invalid. | Request a new token and send |
403 Forbidden | The token or user is not allowed to access the resource. | Confirm the OAuth application and the token include the scope the endpoint needs, and that the user has access to the museum. |
5xx | A server-side error. | Retry with backoff. If it persists, contact support with the timestamp, URL, status and a sanitized request and response. |
Specific Checks
Creating a member fails
Verify that external_id, name, email_address and membership_level are all present, and that every value is URL-encoded.
A list request returns nothing useful
Verify that you use the collection URL (for example /api/v5/external_users) and that query parameters are URL-encoded.
I get 403 on one endpoint but not others
Compare the endpoint with the scope table in Before You Start. A token for read_external_users cannot create members and cannot read pass books.
My token stopped working
Tokens expire. Request a new one, and cache it only until it expires.
Contacting Support
When you write to Cuseum, include the timestamp, URL, status code, and a sanitized copy of the request and response. Never include credentials or tokens. For access and credentials, contact [email protected]. For pricing, contact [email protected].
