1. What is the issue? Please be detailed.
We have a large number of app users and when we try to add assignments we raise an error that says ‘Request Body too Large’. When we remove an assignment and then add another app user assignment it works, but if we try to increase the total number of assignments without removing one, we generate the error. It appears that we have hit an internal limit on the number of app user assignments, but I cannot find documentation on this limit.
2. What steps can we take to reproduce this issue?
My best guess is that this error can be reproduced by sending a PUT request with a payload size greater than 256000 bytes (our network traffic shows that incrementing the user pushes the request size over 256kb and then it fails.)
3. What have you tried to fix the issue?
I have tried to find more detailed log info on the server, but the best error message we can find is in the network traffic ({"message":"Request body too large.","code":400.36})
Using that error code, we can see that the lines of code raising this error could be in three locations:
/usr/odk/test/integration/other/body-parser.js:24: code: 400.36,
/usr/odk/test/integration/api/entities.js:3982: code: 400.36,
/usr/odk/lib/util/problem.js:139: requestTooLarge: problem(400.36, () => 'Request body too large.')
Has anyone dealt with this issue before. I am still wondering if this is an configuration issue, or a internal limit. Any advice would be welcome!
Thank you!
Forgot to add the server version: server (v2025.2.1)