Git Product home page Git Product logo

Comments (4)

sanathkr avatar sanathkr commented on May 18, 2024

On API Gateway console, can you look under StageVariables tab for the value of LambdaFunctionName stage variable? This should be name of the Lambda function you created. This link will roughly tell you where the StageVariables tab is.

from serverless-application-model.

AlexOugh avatar AlexOugh commented on May 18, 2024

Yes, it has it.
I think the issue is because the API doesn't have a permission to run the Lambda function, which is NOT in the swagger.yaml file.
Don't we need to add the permission in 'x-amazon-apigateway-integration' - 'credentials' in the swagger.yaml file?

from serverless-application-model.

AlexOugh avatar AlexOugh commented on May 18, 2024

I found the issue. It works well when I run it, but the problem is when you try to test it in the API Gateway console. You'll receive "internal error" because of no permission when you test the method.

I usually test it first before running it after deployment, so I didn't know it works when it runs. So maybe it will be better for you guys to fix this.

from serverless-application-model.

sanathkr avatar sanathkr commented on May 18, 2024

Dupe of #59.

from serverless-application-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.