Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade from 1.7.5 to 1.8.0 breaking API Gateway endpoint

See original GitHub issue


The changes here are setting these request parameters and breaking the API endpoint that has them applied. The Cloudformation template now has:

    "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:

    handler: src/api/v1/health.handler
      - http:
          path: v1/health
          method: get
          cors: true
            enabled: true
              - name: request.header.Origin
              - name: request.header.origin

Is there something that I can do to fix this?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

DianaIonitacommented, May 16, 2022

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.

sminginscommented, May 8, 2022

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.

Read more comments on GitHub >

github_iconTop 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/ 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found