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

Comments: Add a Delete Note API #27

Closed
jayair opened this issue Apr 10, 2017 · 5 comments
Closed

Comments: Add a Delete Note API #27

jayair opened this issue Apr 10, 2017 · 5 comments
Labels

Comments

@jayair
Copy link
Member

@jayair jayair commented Apr 10, 2017

@jayair jayair added the Discussion label Apr 10, 2017
@justDanielMata

This comment has been minimized.

Copy link

@justDanielMata justDanielMata commented Jun 8, 2017

Hello! i have a pretty weird issue with this chapter, all the other endpoints worked fine, but in this one i get a type error: cannot read property 'handler' of undefined...it prompts me to run on debug mode, but i have no idea where to put the env variable for that, any help?

@jayair

This comment has been minimized.

Copy link
Member Author

@jayair jayair commented Jun 8, 2017

@justDanielMata usually, that means that Serverless is not able to find the handler property in the serverless.yml. Try comparing yours to the one from the chapter and make sure it looks okay - https://github.com/AnomalyInnovations/serverless-stack-demo-api/blob/add-a-delete-note-api/serverless.yml

@justDanielMata

This comment has been minimized.

Copy link

@justDanielMata justDanielMata commented Jun 9, 2017

thanks for the fast answer, copying the whole functions part on the code seemed to fix it, but i have no idea what happened, fwiw, i wrote the update code myself instead of copy pasting, maybe had identation issues? (i know nothing about yml)

@jayair

This comment has been minimized.

Copy link
Member Author

@jayair jayair commented Jun 9, 2017

@justDanielMata Yeah indentations are usually the cause for this. Tabs as opposed to spaces can cause it too.

@jayair jayair closed this May 9, 2018
@jayair jayair reopened this May 9, 2018
@jayair

This comment has been minimized.

Copy link
Member Author

@jayair jayair commented May 9, 2018

@jayair jayair closed this May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.