Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'x-amz-function-error' header in MockAPI and Interceptor API request flow due to unintended body manipulation. #3379

Open
YasiruShaminda opened this issue Jun 16, 2023 · 0 comments

Comments

@YasiruShaminda
Copy link
Contributor

Description

Problem

Interceptor direct responses and Mock API responses that with the 2XX status code range failing (setting an empty body) when the AWS Lambda filter is engaged in the HTTP filter chain.

As a solution, we have done the following,

The body manipulation issue was totally resolved by adding the 'x-amz-function-error' header to the request flow of Interceptor requests and MockAPI requests. Also removed the header from the interceptor client response, but the MockAPI client response still displays the 'x-amz'-function-error' header.

Version

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant