Response-Level errors
Response level errors are present when the success
parameter of the response is set to false, and are structured like:
{
"requestId": "e42b#14272d07d78",
"success": false,
"errors": [
{
"code": "601",
"message": "Unauthorized"
}
]
}
Each object in the “errors” array has two members, code
, which is a quoted integer from 601 to 799 and a message
giving the plaintext reason for the error. 6xx codes always indicate that a request failed completely and were not executed. An example is a 601, “Access token invalid,” which is recoverable by re-authenticating and passing the new access token with the request. 7xx errors indicate that the request failed, either because no data was returned, or the request was incorrectly parameterized, such as including an invalid date, or missing a required parameter.
Response-Level Error Codes
An API call that returns this response code is not counted against your daily quota, or your rate limit.
Response Code | Description | Comment |
---|---|---|
502 | Bad Gateway | The remote server returned an error. Likely a timeout. The request should be retried with exponential backoff. |
601* | Access token invalid | An Access Token parameter was included in the request, but the value was not a valid access token. |
602* | Access token expired | The Access Token included in the call is no longer valid due to expiration. |
603 | Access denied | Authentication is successful but the user doesn't have sufficient permission to call this API. [Additional permissions](custom-services.md) may need to be assigned to the user role, or Allowlist for IP-Based API Access may be enabled. |
604* | Request time-out | The request was running for too long (for example, encountered database contention), or exceeded the time-out period specified in the header of the call. |
605* | HTTP Method not supported | GET is not supported for the Sync Leads endpoint. POST must be used. |
606 | Max rate limit `%s`; exceeded with in `%s` secs | The number of calls in the past 20 seconds was greater than 100 |
607 | Daily quota reached | The number of calls today exceeded the subscription's quota (resets daily at 12:00AM CST).>Your quota can be found in your Admin->Web Services menu. You can increase your quota through your account manager. |
608* | API Temporarily Unavailable | |
609 | Invalid JSON | The body included in the request is not valid JSON. |
610 | Requested resource not found | The URI in the call did not match a REST API resource type. This is often due to an incorrectly spelled or incorrectly formatted request URI |
611* | System error | All unhandled exceptions |
612 | Invalid Content Type | If you see this error, add a content type header specifying JSON format to your request. For example, try using `content type: application/json`. See this StackOverflow question for more details. |
613 | Invalid Multipart Request | The multipart content of the POST was not formatted correctly |
614 | Invalid Subscription | The destination subscription cannot be found or is unreachable. This usually indicates temporary inaccessibility. |
615 | Concurrent access limit reached | At most, requests are processed by any subscription 10 at a time. This is returned if there are already 10 ongoing requests. |
616 | Invalid subscription type | The appropriate Marketo subscription type is required to access the Custom Object Metadata API. Consult your CSM for details. |
701 | %s cannot be blank | The reported field must not be empty in the request |
702 | No data found for a given search scenario | No records matched the given search parameters. Note: Many failed search operations return `success = true` and no errors and set a warnings informational string. |
703 | The feature is not enabled for the subscription | A beta feature that has not been in enabled in a user's subscription |
704 | Invalid date format |
|
709 | Business Rule Violation |
The call cannot be fulfilled because it violates a requirement to create or update an asset, for example, trying to create an email without a template. It is also possible to get this error when trying to:
|
710 | Parent Folder Not Found | The specified parent folder could not be found |
711 | Incompatible Folder Type | The specified folder was not of the correct type to fulfill the request |
712 | Merge to person Account operation is invalid | A Merge Leads call failed because of an attempt to merge leads that are Salesforce Person Accounts. Salesforce Person Accounts must be merged in Salesforce. |
713 | Transient Error | A system resource was temporarily unavailable at the time of the API call. When this error is encountered, it is advised to wait for time and then retry the request. |
714 | Unable to find the default record type | A Merge Leads call failed because it was unable to find a default record type. |
718 | ExternalSalesPersonID not found | A Sync Opportunities call was made with a non-existent `ExternalSalesPersonID` value. |
719 | Lock wait timeout exception | A Clone Program call was made and timed out waiting for a lock. |