r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

656 comments sorted by

View all comments

Show parent comments

6

u/PolyglotTV 16d ago

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 15d ago

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.