1 Answer
- Newest
- Most votes
- Most comments
0
One approach could be is to use a more generic 400 error code for client-side errors and include the specific error detail within the response body. This way, we can define a single Method Response and Integration Response for the 400 status code, and use the response body to convey the specific error (401, 402, 404, etc.).
Relevant content
- Accepted Answer
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago