TypeError: disturbed
See original GitHub issueBug Description
Undici fetch get results in TypeError: disturbed
Reproducible By
N/A
Expected Behavior
Proper response or specific error message
Logs & Screenshots
N/A
Environment
Ubuntu 22.04 LTS, Node v18.4.0
Additional context
N/A
Issue Analytics
- State:
- Created a year ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
JavaScript fetch - Failed to execute 'json' on 'Response'
Uncaught (in promise) TypeError: Failed to execute 'json' on 'Response': body stream is locked. I showed the contents of the returned ...
Read more >Debugging workers specific javascript errors
TypeError : This ReadableStream is disturbed (has already been read from), and cannot be used as a body. I previously had a similar...
Read more >Response.clone() - Web APIs - MDN Web Docs
clone() throws a TypeError if the response body has already been used. In fact, the main reason clone() exists is to allow multiple...
Read more >2. Issue - The Atlassian Developer Community
Here is the error. TypeError: body used already for: https://auth.atlassian.com/oauth/token. I followed this flow below and the error occurred ...
Read more >Fetch Standard
If object is disturbed or locked, then throw a TypeError . If source is a byte sequence, then set action to a step...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
use
clone
if you intend to use it multiple times.That’s how the spec works.