# Issue with yml file

**URL:** <https://forum.serverless.com/t/issue-with-yml-file/943>\
**Category:** Serverless Framework\
**Created:** [December 14, 2016, 1:47pm UTC](https://forum.serverless.com/t/issue-with-yml-file/943 "2016-12-14T13:47:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkw3](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rkw3](https://forum.serverless.com/u/rkw3)\
**Post date:** [December 14, 2016, 1:47pm UTC](https://forum.serverless.com/t/issue-with-yml-file/943/1 "2016-12-14T13:47:01Z")

</div>

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](http://docs.serverless.com)  
Bugs: [github.com/serverless/serverless/issues](http://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

---

<div class="post-metadata">

**Author:** ![rkw3](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@rkw3](https://forum.serverless.com/u/rkw3)\
**Post date:** [December 14, 2016, 4:09pm UTC](https://forum.serverless.com/t/issue-with-yml-file/943/2 "2016-12-14T16:09:53Z")

</div>

OK, I figured this out. the integration:lambda isn’t required.  
Also, that it is advisable to use spaces rather than tabs

---

<div class="post-metadata">

**Author:** ![horike37](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/horike37/32/345_2.png) [@horike37](https://forum.serverless.com/u/horike37)\
**Post date:** [December 14, 2016, 10:55pm UTC](https://forum.serverless.com/t/issue-with-yml-file/943/3 "2016-12-14T22:55:18Z")

</div>

Could you upload whole your serverless.yml?

---

<div class="post-metadata">

**Author:** ![IgorRocha](https://avatars.discourse-cdn.com/v4/letter/i/f05b48/32.png) [@IgorRocha](https://forum.serverless.com/u/IgorRocha)\
**Post date:** [February 16, 2017, 6:20pm UTC](https://forum.serverless.com/t/issue-with-yml-file/943/4 "2017-02-16T18:20:14Z")

</div>

Hi RKW!

I know it’s been a while since this was posted, but I’m facing a similar error and this post was the most similar to what I’m experiencing right now.

Can you please elaborate on how exactly you solved your problem? Also, did you receive support from Serverless staff? If yes, can you please send me the issue’s link on GitHub?

Thanks,

Igor
