# Zoom web sdk not run in production mode

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465>\
**Category:** Web\
**Created:** [December 31, 2020, 4:12am UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465 "2020-12-31T04:12:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![husain](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@husain](https://devforum.zoom.us/u/husain)\
**Post date:** [December 31, 2020, 4:12am UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465/1 "2020-12-31T04:12:09Z")

</div>

Hi Team,

I am using @zoom1234/websdk in my website it is executed on local successfully but in production mode it gives errors :

 ![zoomproderror](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/a/6aa7bdc4a29fded325754737bd3e301b822a22f0.png)

And the api  
[https://rwcprod.zoom.us/wc/ping/98393776647?ts=1609386067414&auth=iiRTqweeH9XNkci8niO5c8DK3TZAPxoEgK2BnVBZb4k&rwcToken=K1Tx94\_UK8SfJi2Xz9uCQAeVw4UEJClAZY\_RcNn1sHE&dmz=1](https://rwcprod.zoom.us/wc/ping/98393776647?ts=1609386067414&auth=iiRTqweeH9XNkci8niO5c8DK3TZAPxoEgK2BnVBZb4k&rwcToken=K1Tx94_UK8SfJi2Xz9uCQAeVw4UEJClAZY_RcNn1sHE&dmz=1)

gives strict origin error.

Please can you let me know what steps I have to take to run websdk on production. I have already seen the posts related to this topic. I am not using UglifyPlugin.

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:** [December 31, 2020, 6:23pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465/2 "2020-12-31T18:23:38Z")

</div>

Hey @husain,

Are you using React? If so, please checkout this React Web SDK sample app:

> **[zoom/websdk-sample-react](https://github.com/zoom/websdk-sample-react)**
>
> Use the Zoom Web SDK in a React App. Contribute to zoom/websdk-sample-react development by creating an account on GitHub.

Let me know if you need additional assistance.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![husain](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@husain](https://devforum.zoom.us/u/husain)\
**Post date:** [January 5, 2021, 4:56am UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465/3 "2021-01-05T04:56:28Z")

</div>

Thanks for reply @tommy

I am using react with webpack not cra. I see, I am already using the same code as given in sample app. Can you give me some solution for that may be some webpack config or other…

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:** [January 5, 2021, 5:19pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465/4 "2021-01-05T17:19:53Z")

</div>

Hey @husain,

The easiest would be to reference the above CDN sample app, the implementation should not change for CRA or Webpack.

That being said, are you able to provide a sample GitHub repo with the issue so I can test and debug locally on my end?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 5, 2021, 3:19am UTC](https://devforum.zoom.us/t/zoom-web-sdk-not-run-in-production-mode/39465/5 "2021-02-05T03:19:54Z")

</div>

Closed on February 5, 2021, 3:19am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
