Errors

Ospree utilizes standard HTTP response codes to convey the outcome of an API request. In summary: Codes in the 2xx range denote success. Codes in the 4xx range signify an error due to inadequate information provided (e.g., missing required parameters, payment failure, etc.). Codes in the 5xx range denote server errors, which are uncommon.

Code
Message
Description

200

Ok

Everything worked as expected.

400

Bad Request

The request was unacceptable, often due to missing a required parameter.

401

Unauthorized

No valid bearer token provided.

500

Server Errors

Something went wrong on Ospree's end. (These are rare.)

Last updated