Question: Any rate-limits for bulk uploading ~6000 attachments via API?

Hi everyone — I’m planning to migrate several legacy databases (totaling 10+ GB) into ActivityInfo. As part of that, many of my records include attachments (stored as BLOBS). My plan is to first import the main data (with record entries) and then — once I have the resulting formIds, recordIds and fieldIds — use the API to upload the attachments (via the “uploadAttachment” endpoint).

I expect to upload on the order of ~6,000 attachments.

Before proceeding, I wanted to check:

Are there any known rate-limits or throttling restrictions on uploading attachments via the API (e.g. number of requests per minute/second, total attachments per time window)?

Are there any “nice to know” recommendations or best practices when doing a large batch upload (e.g. staging blobs client-side, waiting between uploads, chunking, etc.) to avoid failures?

Also: I know that from the docs the limits per attachment are: max file size 10 MB and max number of attachments per attachment-field is 20, so in case a record contains > 20 attachments, I will just add second attachment-field.

Thanks for any guidance or shared experience!

Kind regards,

Gent

Hi Gent,

Sorry for the slow reply, but just to reiterate my response I shared via the help desk:

No, no specific rate limits for uploading attachments. If you can keep concurrent requests low - maybe 4 concurrent requests at a time – that should keep you well under the threshhold where our WAF flags it as a DDOS attack. And should still be pretty fast for you.

Thanks for checking!

1 Like