Skip to main content
In this section, you’ll find all the conventional HTTP error codes associated with Xoxoday’s Rewards APIs. The Xoxoday Rewards APIs use standard HTTP status codes to indicate whether a request was successful or failed.
  1. 2xx codes → Successful requests
  2. 4xx or 5xx codes → Failed requests
When a request fails, the API returns an error response in JSON format containing specific attributes.

Error Response Formats

The API can return errors in two possible formats:

OAuth / Authorization Errors

Returned when authentication or authorization fails, or when required parameters are missing. Attributes:
Attribute Description

Application / API Errors

Returned when a valid request was made, but the server could not process it due to resource, business logic, or data issues.
Attributes:
Attribute Description

Standard HTTP Error Code Summary

Note All other HTTP status codes follow their standard meanings as defined in the HTTP specification. Refer to: MDN HTTP Status Codes
Some other common errors related to the Rewards APIs are listed below: