# Serverless deploy studdenly stopped working

**URL:** <https://forum.serverless.com/t/serverless-deploy-studdenly-stopped-working/7641>\
**Category:** Serverless Framework\
**Tags:** aws, lambda\
**Created:** [March 11, 2019, 4:17pm UTC](https://forum.serverless.com/t/serverless-deploy-studdenly-stopped-working/7641 "2019-03-11T16:17:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kantharia](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/kantharia/32/2456_2.png) [@kantharia](https://forum.serverless.com/u/kantharia)\
**Post date:** [March 11, 2019, 4:17pm UTC](https://forum.serverless.com/t/serverless-deploy-studdenly-stopped-working/7641/1 "2019-03-11T16:17:29Z")

</div>

Hi Everyone,

I am actively using serverless from past 2 months and it works perfectly with AWS and deploying code is best experience. But today strangely I was not able to deploy one of my many service. I went into my project folder and entered

```auto
sls deploy

```

After that I got an error “Invalid variable reference syntax for variable code. You can only reference env vars, options, & files. You can check our docs for more info.”

 ![18%20PM](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/0/0e15a2b20aaccf9cd8e83ade8e06422ae2c192a6.png)

I really dont know what happed. Please guide me to fix this issue.

---

<div class="post-metadata">

**Author:** ![kantharia](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/kantharia/32/2456_2.png) [@kantharia](https://forum.serverless.com/u/kantharia)\
**Post date:** [March 12, 2019, 3:37am UTC](https://forum.serverless.com/t/serverless-deploy-studdenly-stopped-working/7641/2 "2019-03-12T03:37:14Z")

</div>

Problem got fixed, I had a use case where I had to show a custom message to user, so I was using javascript template literals string in environment variable.After I removed my recent changes things started working as before.
