top | item 46337169

(no title)

jonathrg | 2 months ago

4xx is for invalid requests. You wouldn't log a 404 as an error

discuss

order

raldi|2 months ago

I’m talking about codes you receive from services you call out to.

mewpmewp2|2 months ago

What if user sends some sort of auth token or other type of data that you yourself can't validate and third party gives you 4xx for it? You won't know ahead of time whether that token or data is valid, only after making a request to the third party.

jonathrg|2 months ago

Oh that makes sense.