Pop up error: Failed to execute 'text' on 'Response': body stream already read
I just had this issue and was able to figure out the reason and fix it. I'll note the details of my specific scenario as a reference, hopefully it's similar for others or gives ideas on where to look:
- User was in the root BU
- User permissions for the entity came from team membership
- The team was in another BU - a child of the root BU
- Permissions for the entity were only at the "BU" level
Our fix:
- Changed the user's BU to match that of the team they were in
Other possible fixes:
- Change the security role privileges to be parent/child BU or global - though obviously this is not the desirable solution based on your security model
Other things to add:
- Directly assigning the user the same security role as the team allowed them to create the record
- Field Security was also in place for the entity they were working with, however the team they were part of is included in the field security profile and has privileges over the secure fields they were adding