Error codes
The Guide API uses HTTP error codes in order to help users understand, diagnose, and handle issues efficiently. If something goes wrong when handling your request you will receive an error code from the API. Here are some common HTTP error codes you can encounter.
Error code
Message
Explanation
401 Unauthorized
Unauthorized
Unauthorized use. Check that the API key is correct and that it’s added into Query Params.
400 Bad Request
Bad request: publication_valid_between must be set
Publication valid value is a mandatory parameter that must be set in order to get data.
400 Bad Request
Bad request: service must be set
Service value (channel) is a mandatory parameter that must be set in order to get data.
400 Bad Request
Bad request: offset must be a number
Data must be formatted as specified in the metadata section. In this example, the offset can only be a number.