"Uncaught (in promise)" in JavaScript — What It Means and How to Fix It
What the JavaScript error "Uncaught (in promise)" means and how to fix it.
Published October 30, 2026
"Uncaught (in promise)" is appears in the console when a Promise rejects with no .catch() handler attached.
Key points
- Add a .catch() handler, or wrap an awaited call in a try/catch block, to handle the rejection explicitly