Skip to main content
Question

TIME OUT ERROR WHEN ATTACHING FILES TO CUSTOMER CONTRACTS

  • August 27, 2026
  • 1 reply
  • 4 views

Forum|alt.badge.img

Hi everyone,

Has anyone else encountered a timeout error when attaching files to customer contracts?

We noticed that the issue only occurs when there is already one or more files attached to the contract. When there are no existing attachments, the file upload works as expected.

We have also tried using different browsers, including Chrome and Safari, but the issue persists.

Has anyone experienced the same issue or found a workaround?

Thank you!

1 reply

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • August 27, 2026

Hi ​@materessapasion34 ,

File attachment triggers Persist() If it slows down only when attachments already exist, Acumatica may be repeatedly loading existing attachment records.

Check in this order:

Request Profiler (SM205070): Check for repeated UploadFile, UploadFileRevision, or blob (Data) queries.
File storage (SM202510): Check DB vs. external storage and RevisionsToKeep.
Graph/customization: Check ContractMaint extensions, especially RowPersisting/RowSelected. Disable customization temporarily to test.
Business Events/Push Notifications: Check whether attachment-related processing is triggered synchronously.
SQL health: Check indexes/statistics on UploadFile, UploadFileRevision, and NoteDoc.

Two quick tests:

Test with 0, 1, 5, 10 existing attachments to see if performance increases with attachment count.
Test the same upload through REST. If REST is fast but UI is slow, focus on the screen/graph persist logic.

Workarounds:

Save the contract first, then attach the file.
Attach through REST.
Remove old file revisions if applicable.