Errors
Awake's API is RESTful and as such, uses conventional HTTP response codes to indicate the success or failure of requests.
Status Codes
Description
200
The Request was successful and the intended action was carried out.
400
A validation or client-side error occurred and the request was not fulfilled.
401
The request was not authorized. This can be triggered by passing an invalid API key in the awake-access-apikey header or the lack of one
404
The request could not be fulfilled as the requested resource does not exist.
500, 501,
502, 503, 504
The request could not be fulfilled due to an error on Awake's end. This shouldn't happen so please report as soon as you encounter any instance of this.
Duplicate Transaction
Every transaction on your integration in a domain must have a unique reference. You will get this message if you attempt to start a new transaction with a reference that has already been used.
Last updated
Was this helpful?