Navigation

Errors

Rupt uses conventional HTTP response codes. A code in the 2xx range means the request worked. A code in the 4xx range means the request failed given the information you sent, for example a missing parameter or a business rule that wasn't met. A code in the 5xx range means something went wrong on Rupt's side, which is rare.

The Node SDK turns non-2xx responses into a RuptApiError that carries the status and the parsed response body, so you can branch on either. Network failures throw RuptNetworkError, and a request that runs past the timeout throws RuptTimeoutError.

HTTP status code summary
200 OK Everything worked as expected.
400 Bad Request The request was unacceptable, often due to missing a required parameter.
401 Unauthorized No valid project secret was provided.
403 Forbidden The project secret doesn't have permission to perform the request.
404 Not Found The requested resource doesn't exist.
409 Conflict The resource is in a state that blocks the request, for example an evaluation that was already consumed.
428 Upgrade Required This action requires a Rupt subscription.
500 Internal Server Error Something went wrong on Rupt's end.