Upgrade from 1.7.5 to 1.8.0 breaking API Gateway endpoint
See original GitHub issueHi
The changes here https://github.com/DianaIonita/serverless-api-gateway-caching/pull/107 are setting these request parameters and breaking the API endpoint that has them applied. The Cloudformation template now has:
"RequestParameters":
{
"integration.request.header.Origin": "method.request.header.Origin",
"integration.request.header.origin": "method.request.header.origin",
},
When before it was:
"RequestParameters": {}
The serverless.yml entry looks like:
health:
handler: src/api/v1/health.handler
events:
- http:
path: v1/health
method: get
cors: true
caching:
enabled: true
cacheKeyParameters:
- name: request.header.Origin
- name: request.header.origin
Is there something that I can do to fix this?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Change a public or private API endpoint type in API Gateway
You can change an existing API type using the API Gateway console, the AWS CLI, or an AWS SDK for API Gateway. The...
Read more >kong/UPGRADE.md at master - GitHub
This document guides you through the process of upgrading Kong. First, check if a section named "Upgrade to x.x.x " exists, with x.x.x...
Read more >Apigee hybrid release notes - Google Cloud
On August 22, 2022 we released an updated version of the Apigee hybrid software, v1.8.0. For information on upgrading, see Upgrading Apigee hybrid...
Read more >Supported runtime and SDK releases - Dapr Docs
Release date Runtime CLI Dashboard Status
December 2nd 2022 1.9.5 1.9.1 0.11.0 Supported (current)
November 17th 2022 1.9.4 1.9.1 0.11.0 Supported
November 4th 2022 1.9.3 1.9.1...
Read more >Migration Guide to API Gateway 2.0.0 or later
To migrate from an older version of the API Gateway, you must first configure your API Gateway 2.0 correctly with all of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @smingins,
I just released v.1.8.1 which should hopefully fix your problem. Please reopen the issue if that’s not the case.
Hi @DianaIonita
The issue is the setting of the RequestParameters and it is causing a 500 error at the API gateway.
And when we revert to 1.7.5 those are empty (as above) and all is well 😃
We are using Serverless framework 3.16.0
I will try and find some time to switch back to 1.8.0 and see if we can get some more info.