# Zoom Errors Preventing Page load (React App)

**URL:** <https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978>\
**Category:** Web\
**Created:** [June 22, 2020, 3:39am UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978 "2020-06-22T03:39:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhruva.juloori](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhruva.juloori/32/10852_2.png) [@dhruva.juloori](https://devforum.zoom.us/u/dhruva.juloori)\
**Post date:** [June 22, 2020, 3:39am UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/1 "2020-06-22T03:39:09Z")

</div>

**Description**  
I am using zoom websdk 1.7.8 in my application and able to get zoom working in dev mode. But when i build it in production i get error preventing my page load. I get a blank screen

**Error**  
localhost/:1 Uncaught SyntaxError: Unexpected end of JSON input  
at JSON.parse ()  
at e.readIvSession (zoomus-websdk.umd.min.js:12941)  
at e.initIvState (zoomus-websdk.umd.min.js:12926)  
at e.reset (zoomus-websdk.umd.min.js:12918)  
at new e (zoomus-websdk.umd.min.js:12950)  
at Object.e.exports (zoomus-websdk.umd.min.js:12913)  
at n (zoomus-websdk.umd.min.js:15)  
at Object.e.exports (zoomus-websdk.umd.min.js:65339)  
at n (zoomus-websdk.umd.min.js:15)  
at Object.e.exports (zoomus-websdk.umd.min.js:12056)

**Which version?**  
zoom websdk 1.7.8

**Smartphone (please complete the following information):**  
Tried it in chrome and firefox

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 22, 2020, 9:52pm UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/2 "2020-06-22T21:52:12Z")

</div>

Hey @dhruva.juloori,

Please see this thread:

> [@Unexpected end of JSON when source map disabled](https://devforum.zoom.us/t/unexpected-end-of-json-when-source-map-disabled/19264):
>
> Hi team @ Zoom I’m able to instantiate the web sdk (1.7.8) locally successfully, using webpack having enabled source map ([webpack devtool documentation](https://webpack.js.org/configuration/devtool/) ‘eval-source-map’), I’ve noticed disabling source map in webpack caused my front end application to throw the following error Are you able to confirm this? Is there a solution that doesn’t require the need to ship source maps? Thank you Just for reference, i’ll list what my front end application contains pa…

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![dhruva.juloori](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhruva.juloori/32/10852_2.png) [@dhruva.juloori](https://devforum.zoom.us/u/dhruva.juloori)\
**Post date:** [June 22, 2020, 10:47pm UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/3 "2020-06-22T22:47:10Z")

</div>

Hi Tommy,

I was able to resolve the issue by upgrading react-scripts to 3.4.1, I still have some css problems when i start the meeting. Could you please point me to some relevant threads?

Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 24, 2020, 8:08pm UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/4 "2020-06-24T20:08:13Z")

</div>

Hey @dhruva.juloori,

Happy to hear you fixed the issue! 🙂

What are the CSS issues you are having?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![muhamadangga609](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muhamadangga609/32/5880_2.png) [@muhamadangga609](https://devforum.zoom.us/u/muhamadangga609)\
**Post date:** [July 16, 2020, 8:55am UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/5 "2020-07-16T08:55:15Z")

</div>

how to fix this issue without upgrading react-scripts ??

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 20, 2020, 7:35pm UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/6 "2020-07-20T19:35:20Z")

</div>

Hey @muhamadangga609,

What is your use case for not wanting to upgrade react-scripts?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:46pm UTC](https://devforum.zoom.us/t/zoom-errors-preventing-page-load-react-app/21978/7 "2020-08-21T22:46:59Z")

</div>


