Home

You are here

Handling Errors

Errors

All errors will be returned as both XML/JSON text and using the appropriate HTTP Status Codes.

Status Codes

Code Description
200 OK Successful call
400 BAD REQUEST Missing or invalid parameters on the message call
401 UNAUTHORIZED OAuth authentication required before the call can be made
404 NOT FOUND Resource is not available or found.
500 SERVER ERROR Server is unavailable

Inside the status code are further error codes and messages that can aid in determining the cause of the error. An error message will come back as

<?xml version="1.0" encoding="UTF-8"?>
<error>
  <code>2<code>
  <message>Not authorized for this method</message>
</error>

or

{
  "code": 2,
  "message": "Not authorized for this method"
}

If you are uncertain of the specific error you can consult the support page at the developer.mob4hire.com site or directly at [email protected]