We are going to fix this ‘undefined’ generated error and generate a better error message on our application instead, but this does not explain why zoom resources cannot be downloaded.
Do you have (and reach) usage limits on your AWS CDN ? I don’t see any other explanation from our side as this happen no matter the user and erratically.
Which version?
1.7.10
To Reproduce(If applicable)
Hard to reproduce by ourselves.
I am wondering where in your code you are initiating the Web SDK and the preload / prepare functions?
If the preload / prepare functions do not have enough time to initiate, this error can be thrown. Checkout the implementation of one of our sample apps, where on initial component load we are immediately calling the preload and prepare functions:
The error is happening on first line. It’s a javascript error mentioning that the object ZoomMtg is undefined from window component.
The cause of such error could be (this is pure assumption):
the zoom library(ies) could not be downloaded and so could not be loaded on the DOM
the zoom library(ies) could not be loaded on time on the DOM and therefore are unknown
Now, from the screenshot about resources download i provided above, i would say it’s because of option 1. Not to mentioned that when this part of the code pass, then the WASM libraries are pre downloaded right ? Well, some users faces issues to download these WASM libraries (erratically !)
It’s hard to believe that this would come from a limit reached on your CDN as this is a service provided by Amazon. But at the same time, i cannot find another reason explaining these symptoms.
That’s where i need your expertise.