Handling API Errors | RESTful API using NodeJS and MongoDB

preview_player
Показать описание
(One FREE project forever 😘)

In this series you will learn how to build a #RESTAPI using #NodeJS and #MongoDB.
You will learn as to how to handle API errors, sending a 400 #BadRequest, 404 #NotFound Error, 422 #UnprocessableEntity Error and more.
We will use the npm package called #http-errors for the same.

———————————————
Other useful Playlists
———————————————

———————————————
What I use
———————————————

#yoursTruly #tutorial #how-to
Рекомендации по теме
Комментарии
Автор

This course is awesome. The best in related topics. yoursTRULY has a talent in explain difficult subject in simple ways.

AlbrechtJ
Автор

Whats nice is that you incrementally add new functionality | complexity and as a result we don't get overwhelmed. Nice of you!

ellsonmendesYT
Автор

mongoose.CastError is not work 2021 plz use this --->

if (error.message.indexOf("Cast to ObjectId failed") !== -1){
product id"));
}else {
next(error);
}

riteshgoswami
Автор

Great content. a mixture of same api with react would be great.

abhinavkumargurung
Автор

Amazing channel. Look forward to more. Thank you

bz
Автор

Hay Mittal how to rectify 429 error.could you help me in that

SaiKumar-tgct
Автор

Please share me your Github link, so that I can Download Source code.

mohitgupta
Автор

Can you tell me that I have an error that my data is not shown by IP in google Can you suggest to me any solution

alihaider-jweq
Автор

Hello my api call doesn't work if I am in a location different from my apartment
How do i fix this ?

pjmclenon