Skip to main content
The StreamSkill API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted), and codes in the 5xx range indicate an error with StreamSkill’s servers. In case of an error, the API will return an error response with a JSON object containing the following fields (But some errors provide additional fields):
  • name - A human-readable name of the error.
  • message - A human-readable message describing the error.
  • code - Almost always is 0.
  • status - Status code of the error.
  • type - Type of error that was returned. (e.g. bad_request_http_exception)

Error codes

Rate Limits

Rate-limiting errors (429) happen when you are sending too many requests to the API. All API endpoints are rate-limited using a Token Bucket algorithm.

Default Limits

This means authenticated users can make up to 30 requests instantly, then 2 additional requests per second as tokens refill.

Response Headers

The API returns the following headers with every response: On 429 responses, an additional header is returned:

Handling Rate Limits

When you receive a 429 response, wait for the number of seconds specified in the Retry-After header before retrying.

Example 429 Response