Sport API uses standard HTTP response codes to indicate the success or failure of a request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g. a required parameter was omitted, a search request was malformed, etc.) and codes in the 5xx range indicate an error with the Sport API servers.
A complete list of possible response codes is as follows:
The request completed successfully and content was returned.
Nothing to see here, please move along.
The request completed successfully against a valid resource but no content was required to be returned.
The request attempted was not accepted by the API.
Please refer to the documentation and check your request.
The resource or endpoint attempted to be accessed does not exist.
Please check your request.
Unauthorised, you have either not provided an API key or the key provided is not recognised.
Either you have attempted to access a resource you are not entitled to access (e.g. a service to which you do not subscribe) or your API key has breached its Quota.
An error has occurred with the API.
*If you're receiving the API as a live service and you see any of these response codes, contact PA Customer Support
Updated over 4 years ago