# State parameter not sent back when adding an app

**URL:** <https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375>\
**Category:** Zoom Apps\
**Created:** [December 1, 2023, 1:33pm UTC](https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375 "2023-12-01T13:33:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkishkin](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tkishkin](https://devforum.zoom.us/u/tkishkin)\
**Post date:** [December 1, 2023, 1:33pm UTC](https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375/1 "2023-12-01T13:33:26Z")

</div>

**Zoom Apps Configuration**  
Our app is running on node.js backend and a combination of VanillaJS/AngularJS/React microfrontends. The only relevant code here is our node.js backend.

**Description**  
This is only reproduced by some users.

When such user adds the app in browser, they see the “invalid state parameter” error thrown by our backend. This is due to the fact that the state parameter is, in fact, not being sent.

Here is the sequence of events, represented in the screenshots.

This is what happens for most users (expected behavior):

 ![mspaint_RsB6AqqQBr](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/1/c1dede2ec4f92dbd6d5f5e7d5efdd0384954391a.png)

This is what happens for some users - they run into error:

 ![mspaint_pBTST9wK7J](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/7/b7bb148023aa7c54d89b8485ec4429eef84b2749.png)

**How To Reproduce**

As mentioned above, this is reproduced by some users but not the others.

Example of a user for whom it works correctly:  
_[tkishkin+zoomxtest@linkando.com](mailto:tkishkin+zoomxtest@linkando.com)_

Example of a user for whom it fails (state parameter gets lost):  
_[ilga.groeschel@linkando.com](mailto:ilga.groeschel@linkando.com)_

Zoom app name:  
_Linkando - Playbooks, Decisions, Agenda & Minutes_

Note: _[ilga.groeschel@linkando.com](mailto:ilga.groeschel@linkando.com)_ user is created in the ZoomX cluster. But _[tkishkin+zoomxtest@linkando.com](mailto:tkishkin+zoomxtest@linkando.com)_ too, so maybe it’s unrelated

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 8, 2023, 3:28pm UTC](https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375/2 "2023-12-08T15:28:47Z")

</div>

Hi @tkishkin  
Thanks for reaching out to us and sorry for the late reply here!  
Have you been able to troubleshoot this on your end or are you still looking for assistance on this?

---

<div class="post-metadata">

**Author:** ![tkishkin](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@tkishkin](https://devforum.zoom.us/u/tkishkin)\
**Post date:** [December 8, 2023, 3:51pm UTC](https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375/3 "2023-12-08T15:51:15Z")

</div>

Hi @elisa.zoom ! No problem.

We can no longer reproduce the issue with the user mentioned above. We didn’t change anything on our side.

This is still strange but the immediate problem seems to have resolved itself.

Thanks!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 8, 2023, 3:54pm UTC](https://devforum.zoom.us/t/state-parameter-not-sent-back-when-adding-an-app/99375/4 "2023-12-08T15:54:10Z")

</div>

Amazing! thats great news! @tkishkin  
Please reach out to me if this happens again and I will be happy to look into this!
