The original API returned errors by returning an HTTP 200 with JSON setting success to false. This is hard to deal with on the front end. This changes api errors (primarily SAM errors) to generic 400 errors. Consider adding granularity to errors if we need it later.
The original API returned errors by returning an HTTP 200 with JSON setting
success
tofalse
. This is hard to deal with on the front end. This changes api errors (primarily SAM errors) to generic 400 errors. Consider adding granularity to errors if we need it later.