Uncaught promise error
1 min readMay 19, 2020
It is always frustrating for a developer to encounter errors that does not possibly make sense. While working with promises and trying to access API route I encountered this annoying error below:
It worked for me, hopefully it works for you too.