[HTTP API] API doesn’t include a route with path /*

See original GitHub issue

I am trying to use the HTTP API GW feature implemented here: https://github.com/serverless/serverless/pull/7274.

The problem is that the AWS Console for my lambda seems to say that there is an error with my API GW. The endpoint does work, and it reaches the lambda function just fine. So, is this a bug with AWS Console, AWS HTTP GW or with serverless?

Screenshot from 2020-03-25 15-33-01

Here is my serverless.yml


provider:
  name: aws
  runtime: nodejs12.x
  region: us-east-1
  stage: ${opt:stage, 'dev'}
  timeout: 10
  memory: 128

functions:
  simpleHttp:
    handler: build/handler.simpleHttp
    events:
      - httpApi: '*'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

8reactions
PawelFaroncommented, Apr 16, 2020

Is there any solution for this? I’m facing the same issue.

7reactions
hastalavistababycommented, Jul 22, 2021

Same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with routes for HTTP APIs - Amazon API Gateway
Routes direct incoming API requests to backend resources. Routes consist of two parts: an HTTP method and a resource path—for example, GET /pets...
Read more >
The API with ID does not include a resource with path ...
There are two problems with your commands -. Incorrect aws apigateway create-resource --rest-api-id id --parent-id id --path-part {proxy+}.
Read more >
API (REST) - Overview - AWS Amplify Docs
Amplify CLI creates a single resource in Amazon API Gateway so you can handle all routes, HTTP Methods and paths, with a single...
Read more >
Http API Gateway with lambda integration for multiple routes
The Lambda function handles several routes and Express is handling the internal routing according to the path. Is it possible in HTTP API...
Read more >
The Official Guide to AWS HTTP APIs - Serverless Framework
Essentially, HTTP API routes have an HTTP Method like GET or POST or a catch-all route like ANY. They also have a route...
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