HTTP Response Codes

Uprock APIs rely on standard HTTP status codes to indicate the outcome of API requests, enabling developers to handle successes and errors programmatically.

  • 2xx responses indicate a successful request.

  • 4xx responses indicate a client-side error, such as missing or invalid parameters.

  • 5xx responses indicate an internal server error.

Additional details for each code are described below.

Success Responses (2xx)

HTTP Status CodeMessageDescription
200OKRequest completed successfully. Returns the requested resource or confirmation.
202AcceptedRequest accepted but processing is incomplete. Retry the request shortly.
201CreatedResource successfully created
204No ContentRequest succeeded, no body returned

201 Created Resource successfully created (for example, after a POST). 204 No Content Request succeeded, no body returned (for example, after a DELETE).

Client Error Responses (4xx)

HTTP Status CodeMessageDescription
400Bad RequestThe request was invalid or could not be understood. Check your request parameters, and request body format
401UnauthorizedAuthentication has failed or required. Verify your API key is valid and properly formatted in the Authorization header`.
404Not FoundThe requested resource was not found.

Server Error Responses (5xx)

HTTP Status CodeMessageDescription
500Internal Server ErrorAn unexpected error occurred on the server
502Bad GatewayReceived an invalid response from an upstream server
503Service UnavailableThe server is currently unavailable, due to maintenance or overload
504Gateway TimeoutThe server did not receive a timely response from an upstream service

Need Help?

If you encounter persistent errors or need assistance, contact support at support@uprock.com.

On this page