Table of Contents
Any Elance Developer API method can return the following general errors. The errors are arranged by the value of the type property used to describe them in an error response. For a description of the format of an Elance Developer API error response, see Getting Started.
tableofcontents_number_textAPI Error Codes
The following errors are turned with an error type value of api.
tableofcontents_number_textAuthentication Error Codes
The following errors are turned with an error type value of authentication.
|E_API_AUTH_CONSUMER_KEY_REQUIRED||The API key (oauth_consumer_key) is missing.|
|E_API_AUTH_INVALID_CONSUMER_KEY||The supplied API key is not approved, is not correctly formatted, or has been revoked.|
|E_API_AUTH_EXPIRED_ACCOUNT||The user account associated with the API key has expired. Please contact customer support for assistance.|
|E_API_AUTH_INVALID_ACCESS_TOKEN||The client application's Access Token has expired, either because the authorization time period has lapsed or because the client application called /oauth/revokeToken. For more information on Access Tokens, see Using OAuth with Authenticated Methods.|
|E_API_AUTH_SIGNATURE_MISMATCH||The server calculated a different digital signature or Signature Base String (SBS) than the client application for the current OAuth-authenticated request. Returned only for OAuth authenticated methods. To debug signature mismatch issues, see Using OAuth with Authenticated Methods.|
|E_API_AUTH_SIGNATURE_REQUIRED||The request did not include a SHA-1 digital signature (oauth_signature). Returned only for OAuth authenticated methods.|
|E_API_AUTH_TIMESTAMP_REQUIRED||A valid timestamp (oauth_timestamp) was not included in the request. Returned only for OAuth authenticated methods.|
|E_API_AUTH_NONCE_REQUIRED||A valid nonce (oauth_nonce) was not included in the request. Returned only for OAuth authenticated methods.|
|E_API_AUTH_INVALID_TIMESTAMP||The timestamp (oauth_timestamp) is either not a proper timestamp, or is too old. Returned only for OAuth authenticated methods.|
|E_API_REQUEST_ALREADY_RECEIVED||The signature, timestamp, and nonce of the request match those of a request that was already processed. Returned only for OAuth authenticated methods.|
tableofcontents_number_textValidation Error Codes
The following general errors are returned because one or the parameters submitted in the request was incorrect or malformed. Validation errors are categorized with a type value of validation in an API error response. The parameter responsible for causing the error is indicated by the param property.
|E_API_VALIDATION_PARAM_REQUIRED||The named parameter is required.|
|E_VALIDATION_INVALID_ID||The numeric ID for the named parameter is not valid.|
|E_VALIDATION_NOT_POSITIVE_INT||The value of the named parameter must be a positive integer.|
|E_VALIDATION_NOT_POSITIVE_NUM||The value of the named parameter must be a positive decimal number.|
|E_VALIDATION_NOT_NUMBER||The value of the named parameter must be a positive or negative decimal number.|
tableofcontents_number_textMiscellaneous API Error Codes
The following errors are turned with an error type value of misc.
|E_API_INTERNAL_ERROR||A fatal internal error has occurred. Please contact Elance customer support.|
|E_API_NOT_AUTHORIZED||The client is not authorized to access this API.|