r/ProgrammerHumor • • Sep 19 '26

Meme postForEverything

Post image
21k Upvotes

651 comments sorted by

View all comments

Show parent comment

6

u/PolyglotTV Sep 19 '26

Oh yeah. That's just like, a "soft error". Didn't want to return a 4xx because then it'd be treated as a real error and fail some tests.

2

u/Kirides Sep 19 '26

That's literally a metric that our stupid (not the people) IT security team is measuring.

Any 4xx errors are "likely potential API abuse", thus our app should always use 200 OK to not fall under that umbrella.

"How can we reduce the RED "errors" in our metrics further?" - guys, it's OK that something is actually missing sometimes, we have a large multi tenant highly concurrent system. That's just how it is.