1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi,
You can customize the message by creating your own request validator and define the error message that it returns.
See https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html for all details on how to implement this.
Best,
Didier
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
I have checked this docs, but couldn't find it how to customize the response. In the doc also they mentioned that, "When the validation fails, API Gateway immediately fails the request, returns a 400 error response to the caller, and publishes the validation results in CloudWatch Logs."