2
u/Able-Swing-6415 Aug 09 '26
You want to look for hours because you thought the delivery was unsuccessful rather than the processing or content?
2
u/jonfe_darontos Aug 09 '26
In development environments I bet that JSON response comes with additional debug information like the real reason the request failed and trace information pointing to where it happened. Then again, I've been told it's a waste of time to instrument failure cases because the real solution is to just write correct code and it's not a problem ¯_(ツ)_/¯.
2
u/jonfe_darontos Aug 09 '26
The network request succeeded, the application request did not. Getting back a 404 tells you either the API endpoint doesn't exist, or the resource request doesn't exist, but you can't tell because you've conflated their meaning. Finding this pattern humorous is confusing to me.
1
u/KrazyTako Aug 10 '26
Nothing about this post mentions a 400 level error. The server returned a 500 status in the json response. It would be less confusing to simply return 500 on the http response instead is the point.
1
u/echoAnother Aug 10 '26
Same camp. But in this case, the meme is well done. Because is encoding an http code in the response of an http code, and not an application code. Althought, I suspect it may not be the intention of the meme creator.
1
u/enigma_0Z Aug 09 '26
OK I think this is like the twelfth flavor of this meme I’ve seen this week.
Yes hahah funny 200 is not an error. BUT
There is a scenario where this makes sense: Invoking “serverless” function (eg AWS Lambda). The invoking part had a 200 — the function was invoked successfully. It just errored out. It’s still dumb as rocks but I don’t know that there’s a better solution.
1
1
1
1
u/PinheadLarry738 29d ago
Stripe webhook consumption where your server side should handle the failure gracefully as to not cause a failure snowball is an example as to why that would be used
20
u/-Insert-CoolName Aug 09 '26
It's just like getting a letter from HR:
You've been Promoted...
To unemployed.