# Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'

**URL:** <https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363>\
**Category:** Web\
**Created:** [October 27, 2020, 3:23am UTC](https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363 "2020-10-27T03:23:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvivot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nvivot/32/4489_2.png) [@nvivot](https://devforum.zoom.us/u/nvivot)\
**Post date:** [October 27, 2020, 3:23am UTC](https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363/1 "2020-10-27T03:23:08Z")

</div>

**Description**  
One of our user faced an issue with the receive video during a meeting after another participant activate screen sharing.

Bug effect: On the non host participant, the video received from the host participant is not displayed / visible anymore.

From our investigation we could notice the following javascript error on the participant having the bug.

```
Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLShader'

```

**Report provided by the host of the meeting**  
After activating screen sharing, the non host participant (only other participant in the meeting) could no longer see the video even after I (the host of the meeting) switched it back on, and then after I tried to switch it off then on again several times. When that didn’t work we both left the meeting and logged back in. After logging back in the issue was resolved (even after screen sharing)

**Error**  
Here is the error, happened multiple times.

 ![gl_issue_01](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/4/940ee5a379dfce5c8017d03aca2cf81c792b50cc.png)  
 ![gl_issue_02](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/4/345bbd2931f11ab8f75b2c62638322bcc1556f21.png)

It seems to be a rendering issue.

**Other details**  
When correlating the javascript errors from the non host participant with the host participant actions, we can see that they are triggered when the host is activating/deactivating his video and/or screen sharing (if you pay attention to the timing on both sides)  
 ![gl_issue_instructor_side](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/f/2f3fddd8a711fa86e8c2e6ae39cc8c55cc44e86c.png)

**Which version?**  
1.8.1

**To Reproduce(If applicable)**  
Cannot reproduce it.

**Client environment**

- Device: Laptop
- OS: Window 10
- Browser: Chrome 86.0.4240.75

---

<div class="post-metadata">

**Author:** ![rossy](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@rossy](https://devforum.zoom.us/u/rossy)\
**Post date:** [October 27, 2020, 10:44am UTC](https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363/2 "2020-10-27T10:44:46Z")

</div>

I also got the same error today for the first time on 1.8.1.

TypeError: Failed to execute ‘shaderSource’ on ‘WebGLRenderingContext’: parameter 1 is not of type ‘WebGLShader’.

userAgent: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51”,

---

<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:** [October 29, 2020, 8:38pm UTC](https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363/3 "2020-10-29T20:38:13Z")

</div>

Hey @rossy, @nvivot,

Thanks for reporting this, we will take a look and get back to you with what we find. 🙂 (CS-2470)

-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:** [November 29, 2020, 6:38am UTC](https://devforum.zoom.us/t/failed-to-execute-shadersource-on-webglrenderingcontext-parameter-1-is-not-of-type-webglshader/34363/4 "2020-11-29T06:38:20Z")

</div>

Closed on November 29, 2020, 6:38am UTC

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