Errors
Every page of these docs is also plain Markdown, listed at https://subliss.app/developers/llms.txt for AI tools.
Every error from the Subliss API has the same shape:
{
"error": {
"code": "invalid_key",
"message": "That key is not a Subliss key, or it has been revoked.",
"docs": "https://subliss.app/developers/index.html"
}
}
The code never changes, so check that rather than the message. The message says what went wrong in plain words, and docs points to these pages.
Every code
400key_in_url: the key was in the address. Revoke it and make a new one.400invalid_limit,invalid_offset,invalid_sort,invalid_categoryorinvalid_published_after: a parameter is out of range. The message says which values work.400needs_key:GET /searchwas sentoffsetorpublished_after, which only/trackstakes, with a key.401missing_key: there is noAuthorizationheader.401invalid_key: the key is not a Subliss key, or it has been revoked.404track_not_found: no public subliminal has that ID.404creator_not_found: no creator has that handle.404not_found: there is no endpoint at that address.405method_not_allowed: the API only reads, so sendGET.429rate_limited: the key has made 60 requests this minute. Wait for the seconds inRetry-After.500server_error: something went wrong on our side. Try again in a minute.
What to do
- A
400means the request needs fixing. Read the message, change the parameter and send it again. - A
401means the key is missing, mistyped or revoked. Check theAuthorizationheader, or make a new key under Account. - A
404means nothing public matches. A subliminal that is private, unlisted or deleted answers the same as one that never existed. - A
429means wait. Examples shows a request that waits forRetry-Afterand tries again. - A
500is ours to fix. If it keeps happening, write to [email protected] with the time and the address you called.