14/02/2025 03:45:44: [2025-02-14 03:45:44] Message: Server error: POST http://192.168.70.19:9340/rest/serverengine/entity/datarecords/values resulted in a 500 Server Error response:
{“error”:{“status”:500,“message”:“Request failed.”,“parameter”:“”}}
I have no idea if the data was too much to handle, but you can test that yourself by making the same request while passing only a small subset of the record ids you sent earlier.
Given the number of passed record ID’s, this sounds like the same issue as the one reported via the forum post Check Progress of a Job in V2024.2. You may want to test the workaround mentioned for the issue you are facing too.
I did a quick test myself passing recordids: Array(30000).fill(2770513) where 2770513 is an arbitrary record id, but that did not error out and produced the expected result. Perhaps the record I used was too simplistic.
Can you please try passing optimized: true? Limitations: this only processes unique ids, and the entries in the response are always in ascending order.
I’m not sure why the “optimized” option is not mentioned in our REST API documentation, but it is an official feature that is used by Workflow (see the “Optimized” checkbox in the Retrieve Items task).