HTML response with 502 error from API end-point

When doing web dev, you will ALWAYS receive errors. You can’t avoid it. You need to know what each error means. There is a standard that the web follows. Not everyone uses them properly, but in general you can code based on the standard. When I do web dev, I always assume 1. The data doesn’t exist. And 2. I will have intermittent connection issues to the server or web in general.

1 Like