Possible Unhandled Promise Rejection (id:0)
See original GitHub issueHey Team,
I get this yellow box:
Possible Unhandled Promise Rejection (id: 0):
Already read
TypeError: Already read
at consumed (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:12146:23)
at Response.Body.text (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:12237:14)
at _class._onRegisterPressed$ (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:73490:940)
at tryCatch (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10389:30)
at GeneratorFunctionPrototype.invoke [as _invoke] (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10665:12)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10422:13)
at tryCatch (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10389:30)
at invoke (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10465:12)
at http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:10473:1
at tryCallOne (http://10.10.1.227:8081/index.ios.bundle?platform=ios&dev=true:6407:8)
How can I fix this? I’m doing a server request inside a try catch block. Everything is working fine. I’m not getting any errors from my server, only this yellow box appears.
Thank you a lot for this great framework!
albo1337
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
React Native: Possible unhandled promise rejection
I'm getting the following error: Possible unhandled promise rejection (id:0: Network request failed). Here's the promise code, ...
Read more >Possible Unhandled Promise Rejection (id: 0): | Mendix Forum
I have upgraded a native mobile app with NFC dependency from 8.6.9 (all working well) to 8.18.4. I built a new dev .apk...
Read more >React Native Auth0 Possible Unhandled Promise Rejection
Possible Unhandled Promise Rejection (id: 1): TypeError: undefined is not an object (evaluating '_yield$getCredentials.accessToken').
Read more >React Native Auth0 Possible Unhandled Promise Rejection
WARN Possible Unhandled Promise Rejection (id: 0): TypeError: null is not an object (evaluating 'this.Auth0Module.ha…
Read more >Unhandled promise rejection (id:0) Error: database or disk is ...
[Solved]-Unhandled promise rejection (id:0) Error: database or disk is full....-React Native.
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
Note for future readers: this error also happens if you have
throw Error(msg)
in your code!Might be related to this:
https://github.com/facebook/react-native/issues/4415