Common Errors and Warnings for ServiceNow – Attachments

Check out common errors and warnings related to attachments you sometimes encounter while using Backup & Recover for ServiceNow. For each issue, we offer a clear explanation of the cause and actionable steps you can take to resolve it.

Error Message: Failed processing binary. Exception while backing up service now attachment data for sys_id [sys_id]: The attachment was downloaded with a size of XMB, but the correct file size is YMB. The difference in size (Y-X MB) is greater than 1MB. Discarding downloading file.

Reason: The difference in file size according to ServiceNow and the retrieved file is greater than 1MB. The download was stopped to save time and resources because the file we received was corrupted. This is likely related to a transaction timeout.

Solution: Adjust the “Maximum Duration (seconds)” of the Transaction Quota Rules related to the type of REST API request within ServiceNow. Navigate to System Definition > Transaction Quota Rules.

  • Update both the REST Table API request timeout and REST and JSON Catch All transaction rule:
  • Prevents inbound REST Table API transactions from running for longer than 60 seconds by default. Set this to 900 seconds (15 mins) or a comfortable duration.
  • Update the REST Attachment API request timeout transaction rule for attachments:
  • Prevents inbound REST Import Set API transactions from running for longer than 60 seconds (default). Set this to 900 seconds (15 mins), or a comfortable duration time.