logoalt Hacker News

setr • yesterday at 6:33 PM • 2 replies • view on HN

The issue is that the error is effectively silent, because it’s reported as an entirely different error. It’s obtuse, confusing and most likely will be triggered by false positives at random (like referencing a competitor, even without using it)


Replies

otterley • yesterday at 7:11 PM

Fair enough, it should probably be a 422.

antonvs • yesterday at 10:47 PM

> it’s reported as an entirely different error.

Since the threshold for requests with disallowed content is apparently 0, you could argue that the error code is... uh, correct is a strong word.