Re:How to (and how not to) design REST APIs
by greatgib on Sunday November 26, 2023 @08:16AM
(#38421366)
I like very much something I saw in the Dropbox API:
All application errors are returned with a 409 code, and then you are sure to have a properly json formatted error in the body that can will have an error code more relevant for your case.
All application errors are returned with a 409 code, and then you are sure to have a properly json formatted error in the body that can will have an error code more relevant for your case.
So that could be NOT_FOUND in such a case.