Skip to content
Jay Williams edited this page Mar 7, 2012 · 3 revisions

Api error code

Each Error are provided with a message, please read that message, it contains a lot of useful information.

General error

  • bad_request: A required field not provided or empty.
  • bad_data: A provided data is incorrect.

Authentication related

  • bad_token: You provide an invalid authentication token.
  • old_token: You're token has expired, call auth.refresh
  • bad_hmac: You're request HMAC is invalid.
  • unauthorized: Not Auth or not the necessary right to execute this method.

Processing related

  • no_request: No request provided.
  • bad_encoding: The request can't be parsed (json/xml related).
  • no_method: No method field.
  • empty_method: You not provide a method.
  • bad_method: This API method does not exists.

Generic

Use debug=true in conf file to know more about them.

  • internal_error: This API method have a problem.
  • unknown: Unknown error.
Clone this wiki locally