# 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.

<table data-full-width="false"><thead><tr><th>Code</th><th>Message</th><th>Description</th></tr></thead><tbody><tr><td>200</td><td>Ok</td><td>Everything worked as expected.</td></tr><tr><td>400</td><td>Bad Request</td><td>The request was unacceptable, often due to missing a required parameter.</td></tr><tr><td>401</td><td>Unauthorized</td><td>No valid bearer token provided.</td></tr><tr><td>500</td><td>Server Errors</td><td>Something went wrong on Ospree's end. (These are rare.)</td></tr></tbody></table>
