By using AWS re:Post, you agree to the Terms of Use

API Gateway - Gateway response - HTTP API


With HTTP APIs, is there a way to customise the response sent back in errors from the API GW itself - i.e. is there an equivalent to Gateway Responses in REST APIs?

1 Answer
Accepted Answer

Changing API Gateway errors is currently not supported. You can use response parameters to transform the HTTP response from a backend integration before returning the response to clients. You can modify headers or the status code of a response before API Gateway returns the response to clients.

profile picture
answered 2 years ago
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions