# Web SDK with Angular Unexpected End of JSON input

**URL:** <https://devforum.zoom.us/t/web-sdk-with-angular-unexpected-end-of-json-input/24438>\
**Category:** Web\
**Created:** [July 17, 2020, 1:57pm UTC](https://devforum.zoom.us/t/web-sdk-with-angular-unexpected-end-of-json-input/24438 "2020-07-17T13:57:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jagathprasad0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jagathprasad0/32/9575_2.png) [@jagathprasad0](https://devforum.zoom.us/u/jagathprasad0)\
**Post date:** [July 22, 2020, 2:01pm UTC](https://devforum.zoom.us/t/web-sdk-with-angular-unexpected-end-of-json-input/24438/3 "2020-07-22T14:01:21Z")

</div>

I am also facing the same issue. it works fine on local environment, when I hosting in production of AWS it throws the JSON input error.

 ![prod issue](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/58f3d863266ddb29b980eca7a704b336725a008f.png)

Please verify and let me know.  
I have verified the same issue in Devforum, please find the below url.

> [@Unexpected end of JSON when source map disabled](https://devforum.zoom.us/t/unexpected-end-of-json-when-source-map-disabled/19264/14):
>
> Hey @prantikde, I was able to reproduce the issue using your repo, however, I was not able to solve it. This seems to be an issue with react or the way it optimizes it’s build. Like @grahaampeterson said, it works when enabling source maps. Maybe this Stack Overflow will help: I will talk to our Web SDK engineerings to see if this is the reason it is not working in a production build. (CS-1971) Thanks, Tommy

Please help me to fix this issue.

---

_[View the full topic](https://devforum.zoom.us/t/web-sdk-with-angular-unexpected-end-of-json-input/24438)._
