Common error responses for the Polling API
Unless otherwise noted, each of the following has an HTTPS status code of 200 OK, because the polling request itself was considered successful, even if it contains an error response from the system.
Response purged (RESPONSE_PURGED)
The system returns this response when the async job status response is removed from the queue. Responses are retained in the system for 24 hours. Client applications must poll for responses within 24 hours after the initial API request was submitted.
{
"response": {
"type": "",
"title": "Response purged",
"errorCode": "RESPONSE_PURGED",
"detail": "Response Message Purged",
"errorDetails": "[]"
},
"requestId": "WGlJSWhsOjoxNTIxMzU5OTI1",
"apiName": "",
"timeZone": null,
"requestTime": "2018-03-18 13:28:45.0",
"requestProcessedTime": "",
"status": "UNKNOWN"
}
Async API not enabled (ASYNC_API_DISABLED_FOR_USER)
The system returns this response when the async API is not enabled for the user performing the request. Contact your CSM to ensure your user and account meet the prerequisites.
{
"type": "",
"title": "ASYNC API disabled for user",
"errorCode": "ASYNC_API_DISABLED_FOR_USER",
"detail": "ASYNC API disabled for user",
"errorDetails": []
}
Processing request (PROCESSING_REQUEST)
The system returns this response when your request is still in progress.
{
"response": {
"type": "",
"title": "Still processing request",
"errorCode": "PROCESSING_REQUEST",
"detail": "Processing Request",
"errorDetails": "[]"
},
"requestId": "Q3hvOUZtOjoxNTU3NDgxMjY3",
"apiName": "",
"timeZone": null,
"requestTime": "2019-05-10 15:11:07.0",
"requestProcessedTime": "",
"status": "IN_PROGRESS"
}
Campaign is invalid (CAMPAIGN_IS_INVALID)
The system returns this response when your request is still in progress.
{
"response": {
"errorCode": "CAMPAIGN_IS_INVALID",
"detail": "An error has occurred and the system is unable to process your request at this time. Please contact Responsys Support for further assistance.",
"type": "",
"title": "Not a valid campaign",
"errorDetails": "[]"
},
"requestId": "UGpCVnBCOjoxNTQwNTQ2MzQ5",
"apiName": "HaAsyncMergeTriggerEmail",
"timeZone": "India Standard Time",
"requestTime": "2018-10-26T15:02:29.344",
"requestProcessedTime": "2018-10-26T09:48:18.000",
"status": "ERROR"
}
Merge fails for one recipient
The system returns this response when the merge fails for a recipient.
{
"response": [
{
"recipientId": 0,
"success": false,
"errorMessage": null
},
{
"recipientId": 0,
"success": false,
"errorMessage": "FAILURE: Record 1 = INVALID_PARAMETER:matchColumnName1 is not found in fieldNames or corresponding value is null or empty\r\n"
}
],
"requestId": "UGpCVnBCOjoxNTQwNTQ2MzQ5",
"apiName": "HaAsyncMergeTriggerEmail",
"timeZone": "India Standard Time",
"requestTime": "2018-10-26T15:02:29.344",
"requestProcessedTime": "2018-10-26T09:48:18.000",
"status": "SUCCESS"
}
Request ID is not valid (INVALID_REQUEST_ID)
The system returns this response when the requestId provided is not valid. Verify the requestId is correct.
{
"response": {
"type": "",
"title": "Invalid Request Id",
"errorCode": "INVALID_REQUEST_ID",
"detail": "Request Id is not valid ",
"errorDetails": "[]"
},
"requestId": "UG",
"apiName": null,
"timeZone": null,
"requestTime": null,
"requestProcessedTime": null,
"status": "ERROR"
}