question-mark
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.

Documentation error triggering request/response warning

See original GitHub issue

This is a Bug Report

Description

I followed the documentation for AWS Events, [lambda-proxy configuration] to configure a path parameter for my endpoint (https://serverless.com/framework/docs/providers/aws/events/apigateway#request-parameters), including a request configuration block. This triggered the warning, Warning! You're using the LAMBDA-PROXY in combination with request / response configuration in your function "<function_name>". Serverless will remove this configuration automatically before deployment.

Removing the request configuration block, but retaining the path parameter, e.g. {id} in the path descriptor made the warning go away, and the API endpoint still works.

I think a documentation update is all that’s necessary. I’m new to the serverless framework though, so I thought I would post this bug report before updating the documentation and issuing a PR.

Similar or dependent issues: N/A

Additional Data

N/A

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pmuenscommented, Aug 11, 2017

@pmuens @horike37 My bad! Yes, this warning goes away after I upgraded to 1.19.0. I was previously using 1.17.0

No worries @tcchau! Glad to hear that it’s working on your end after updating 👍

Thanks @horike37 for lending a helping hand here 🙌!

1reaction
tcchaucommented, Aug 11, 2017

@pmuens @horike37 My bad! Yes, this warning goes away after I upgraded to 1.19.0. I was previously using 1.17.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invoke - AWS Lambda
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type....
Read more >
[@sentry/nextjs] Errored API routes trigger "API resolved ...
With the last version I still see the error, there is a warning but the problem is still there. 11
Read more >
Lambda — Boto3 Docs 1.26.37 documentation - Amazon AWS
If you set the policy to Warn , Lambda allows the deployment and creates a CloudWatch ... The following error handling options are...
Read more >
Handle inbound or incoming HTTPS calls - Azure Logic Apps
If the inbound call's request body doesn't match your schema, the trigger returns an HTTP 400 Bad Request error. To add other properties...
Read more >
Zapier Platform CLI Docs
Triggers, which read data from your API. These have their own section in the Zap Editor. Creates, which send data to your API...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found