Hello, I am a newbie, trying to make a Facebook Bot and am following the example provided.
My YML file consists of
…
events:
- http:
path: webhook
method: get
integration: lambda
- http:
path: webhook
method: post
integration: lambda
as specified.
However when I run “serverless deploy” I get the following error
E:\serverless\gitaquote>serverless deploy
Y A M L Exception --------------------------------------
end of the stream or a document separator is expected
in "E:\serverless\gitaquote\serverless.yml" at line
68, column 4:
- http:
^
For debugging logs, run again after setting SLS_DEBUG env var.
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Please report this error. We think it might be a bug.
Your Environment Information -----------------------------
OS: win32
Node Version: 6.5.0
Serverless Version: 1.2.1
Can someone point what is going wrong?
Thanks
RKW