Just noticed that our automated legal hold export process is failing silently in the Architect flow logs. The flow triggers a bulk export job via the REST API, but the response returns a 500 Internal Server Error instead of the expected 201 Created. This is blocking our chain of custody documentation for a critical discovery request.
The environment is EU-West-1. The user token has full permissions for bulk_export:read and bulk_export:write. The issue seems specific to metadata filters involving conversation_id arrays larger than 500 items.
Steps to reproduce:
- Create a Data Action that calls
POST /api/v2/bulkexport/jobs. - Set the
jobTypetorecording. - Pass a
filtersobject containing an array of 600conversation_idvalues. - Execute the flow.
The error payload is generic:
{
"code": "internal_error",
"message": "An unexpected internal error has occurred."
}
If I reduce the array to 400 IDs, the job creates successfully. Is there a hard limit on filter array size in the current API version? Or is this a known bug with the EU region’s bulk export service? Need to ensure we can export large batches without manual chunking.