Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Pop up error: Failed to execute 'text' on 'Response': body stream already read

Posted on by 12
Hello,
 
I have had a pop up error appear within two environments now, the error is: Failed to execute 'text' on 'Response': body stream already read
 
The first time was on the contact table and the solution was to remove a column from a column security profile. 
 
Now I am unsure. It is a custom entity, and as a system administrator I do not get the error, but a user with basic permissions does get the error. 
 
Some googling it seems to be javascript related, but I don't have any custom JS running on this table. There is a BPF on the table. 

Any help would be appreciated,

 
Thanks, 
 
Dan
  • 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
  • Suggested answer
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    1. In my I also got the same error 
     
    2. after that I go to field security  and give permission
     
    3.  create , read , update to review status field
     
    4. And then error is gone 
  • Suggested answer
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Hi.
    I had the same problem. The user involved apparently had the necessary roles.
    I realised that the role that was enabling the user that kind of access was doing so just on behalf of the team.
    I changed that to user has direct access (second option) and worked.
    Sorry, the pic is not in english.
  • Community member Profile Picture
    Community member 14 on at
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Please follow these steps to resolve this issue.
     
    step 1: Go to the user interface in the Dynamics and press F12 and open the developer tools.
     
    step 2: Try reproducing the error now and you will see an error message in developer tools regarding a missing read permission on an entity. 
     
    step 3: Go and add the read permission for that entity for a security role and check whether user/ team is experiencing the same issue again.
     
    step 4: Try saving it if the error comes again check for which entity now the read permission is missing again and assign it.  Eventually the error will be resolved once the read permissions are sorted for those entities.
     
     
     
  • Suggested answer
    Community member Profile Picture
    Community member 14 on at
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Please follow these steps to resolve this issue.
     
    step 1: Go to the user interface in the Dynamics and press F12 and open the developer tools.
     
    step 2: Try reproducing the error now and you will see an error message in developer tools regarding a missing read permission on an entity. 
     
    step 3: Go and add the read permission for that entity for a security role and check whether user/ team is experiencing the same issue again.
     
    step 4: Try saving it if the error comes again check for which entity now the read permission is missing again and assign it.  Eventually the error will be resolved once the read permissions are sorted for those entities.
     
  • Suggested answer
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Hi Friends, 
    I had the same issue, I solved it my managing the user roles, Make sure you have correct role assigned to all the users in the Business unit. 
     
    eg: rick and rob in the industrial business unit. Make sure they both have same roles and unit if anyone is using each others accounts to create new cases.
     
    I hope this will help.
     
    Thank you 
  • Suggested answer
    Timothy Bohte Profile Picture
    Timothy Bohte 2 on at
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Maybe a column security profile is preventing the JavaScript on the custom table as well. Could you check if there are any columns on the custom table that have collumn security and counter check the JavaScripts on the form of the custom table if referring to any of these collumns?
  • ARAZ Profile Picture
    ARAZ 9 on at
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Hello,
     
    We are getting this error since the wave update, anyone got any solution to this?
     
     
  • Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Hi All, 
    Did any of you find a solution for this or did you find what caused it? I am getting the same issue out of nowhere. 
    Many thanks,
    Josh
  • badbot1 Profile Picture
    badbot1 3 on at
    Pop up error: Failed to execute 'text' on 'Response': body stream already read
    Also having same issue

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans