Your API Errors Suck (Here’s How to Fix Them)
I’ve been using an HTTP API as a consumer and how ti deals with it’s HTTP API Errors is terrible. Tt’s returning back a 200 OK. And in the body of the response, it has an error property that has a user facing message. You might be thinking, if you just return a 400 status code, all problems are solved. Well, not really, because ultimately you want some structure of data and a good developer experience so the developers can handle those errors, because often times you need to surface that to your end user. YouTube Check out my YouTube channel, where… Read More »Your API Errors Suck (Here’s How to Fix Them)