Returns the rows that failed processing for a revenue batch job. Each failure entry includes the original row data alongside an ErrorMessage describing why the row could not be processed.
This endpoint is available once a job has reached a terminal status (partialcomplete or failed). Use the returned data to correct errors and re-upload the affected rows.
AuthorizationstringRequiredThe authorization token for accessing the API. The header value should be set to "Bearer {your-access-token}", where {your-access-token} is the access token assigned to the user.
siteIdstringRequiredThe unique identifier of the site.
jobIdstringRequiredThe unique identifier for the batch job.
formatstringThe response format. Accepted values are csv (default) and json.
csv — Returns a downloadable CSV file containing the failed rows with an additional ErrorMessage column appended. The column order matches the original upload.json — Returns a JSON array where each object contains the original row fields plus an errorMessage property.curl -X GET \ 'https://rest.rulerapi.com/v1/{siteId}/batch/{jobId}/failures?format=csv' \ -H 'Authorization: Bearer {your-access-token}'
200 OK Content-Type: text/csv Content-Disposition: attachment; filename="failures.csv" RowNumber,RevenueClosedDate,CurrencyCode,Value,RaId,EmailAddress,...,ErrorMessage 3,2024-01-15,GBP,abc,ra-example-id,,,,,,,,"'Value' must be a valid number." 7,,,1250.00,,,,,,,,,"At least one visitor identifier must be provided."