API Errors

When an error is received, a status code will be returned along with an error object in a JSON string with the following attributes:

successful:boolean false
status_code:number The numeric HTTP status code for the response
message_code:number The Platform API message code for the response.
message:string Message associated with message_code
response:object Empty

Example

HTTP/1.1 400 Bad Request
Server:  nginx
Date: Sun, 10 Nov 2013 03:57:20 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 139
Connection: keep-alive
Strict-Transport-Security: max-age=31536000; includeSubdomains

{"successful": false, "status_code": 400, "message": "Credentials incorrect for app and app secret", "message_code": 40422, "response": ""}

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×