Axios - Uncaught (in promise) Error: Request failed with status code 500 (SOLVED)

preview_player
Показать описание
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). I'll help you master the latest tech here:

👉 Discord: all my courses have a private Discord where I actively participate

0:00 Solution

#webdevelopment #coding #programming
Рекомендации по теме
Комментарии
Автор

Thanks, In my case I was trying nextjs server action and can't console.log the error. trying it on the client side and it reveals the error which invalid input.

ssatriyaa
Автор

ncaught runtime errors:
×
ERROR
timeout of 2000ms exceeded
AxiosError: timeout of 2000ms exceeded

samiranroyy
Автор

None of the solutions worked for me :( I have my backend in ExpressJS with the POST method and the correct route and the headers in the fetch request, but it just keeps not working and the 500 internal error keeps appearing

o.jc.o
Автор

hello, this error happens to me only when i deploy the app to vercel, what could be the problem ?

chihabeddinelakehel
Автор

such a simple thing, I was struggling on how to see the response on the error side, didn't knew it was error.response

gatocode
Автор

waste last week looking for this.... thanks a lot

alfgow
Автор

thanks bro, I was struggling for two hours

mrteddystar