Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The API doesn't include a resource #193

Open
ghost opened this issue Jun 16, 2020 · 5 comments
Open

Error: The API doesn't include a resource #193

ghost opened this issue Jun 16, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Jun 16, 2020

When I deploy Serverless with this plugin I get the following error. This error is shown in the alias, in the information of the 'API Gateway':

The API with ID ***** doesn’t include a resource with path /* having an integration arn:aws:lambda:********** on the ANY method.

In the log console, i can see 'Service Information' section with the number of resources. Curiously, with the plugin enabled, i have less resources

Log info with plugin:

Service Information
service: test-project
stage: test-dev
region: eu-west-1
stack: test-project-test-dev
resources: 13

Log info without plugin:

Service Information
service: test-project
stage: test-dev
region: eu-west-1
stack: test-project-test-dev
resources: 15

---------- packages info ---------

serverless version: 1.61.1
serverless-aws-alias: 1.8.0

Any idea what's going on?

@MontufarEric
Copy link

Hey, I was wondering whether you found what was the issue?
I'm facing the same problem right now.

@raghavddps2
Copy link

I am having the same issue, were any of you able to figure out the reason ?

@nick-0101
Copy link

Also running into this issue, any of you guys manage to solve it?

@Colton-Gibson
Copy link

Currently having the same issue, anyone seem to figure it out?

@ariastechnelogos
Copy link

I had the same error - not sure if it's caused by the same mistake. In my template.yaml file I had incorrectly written the path as Path: "user/login", BUT the user it should've been "/user/login"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants