Nicola Ben
Nicola Ben

Reputation: 11327

AWS ApiGateway: invalid mapping expression parameter in GUI

through AWS ApiGateway GUI I'm configuring HTTP Header for IntegrationRequest. I have a simple GET method (with header "Accept") whose call flow is: enter image description here

When trying to map the Accept header in the integration request I get the error:

enter image description here

Do you have any suggestions, please?

Thank you in advance.

Upvotes: 1

Views: 571

Answers (1)

Nicola Ben
Nicola Ben

Reputation: 11327

I found that in GUI you need to write 'method.request.header.accept' (with quote).

enter image description here

Upvotes: 1

Related Questions