List of questions
Related questions
Question 521 - DVA-C01 discussion
A developer is debugging an AWS Lambda function behind an Amazon API Gateway. Whenever the API Gateway endpoint is called, HTTP status code 200 is returned even though AWS Lambda is recording a 4xx error. What change needs to be made to return a proper error code through the API Gateway?
A.
Enable CORS in the API Gateway method settings.
B.
Use a Lambda proxy integration to return HTTP codes and headers.
C.
Enable API Gateway error pass-through.
D.
Return the value in the header X-Amzn-ErrorType.
Your answer:
0 comments
Sorted by
Leave a comment first