CORS error when uploading a PDF to the Whiteboard, using the Meetings SDK WEB

I have succesfully integrated the Meeting SDK WEB and it is working great.
The calls can be established and the whiteboard can be used.
The problem arises when trying to upload a PDF file to the whiteboard. A message appears “Unable to upload file. Please try again”.
Inspecting the network logs, it can be seen that a call to this endpoint is blocked by CORS
https://nws.zoom.us/nws/das/api/v1/documents/DXZv6Ze4TFKED1GHB308Pw/async/upload/embeddable

I can verify by making the same call from outside the browser, that the response does not contain the Access-Control-Allow-Origin header, which would explain the error.
Is this a bug or should I setup the allowed origins somewhere?

This does not happen when uploading images to the whiteboard, only with documents.

I tried enabling SharedArrayBuffer, but it makes no difference.

I see this post already reposting this issue, but it has no resolution.
https://devforum.zoom.us/t/zoom-web-sdk-whiteboard-file-upload/102881/12

I tried updating to version 3.8.0 of the SDK, without success.

I would appreciate assistance.

1 Like

Hey there, thanks for reporting this, @jgarcia! This issue should have been resolved. I just checked the URL and see that there are missing headers. Let me test it on my end and report this issue (ZSEE-119136) to our internal engineering team to look at it more closely.

Hello Donte,
Thank you for looking into it. Unfortunatelly the issue persists. Is the issue number ZSEE-119136 internal only, or can we follow the progress publically?

Is there any update about this topic?
For us is an important feature for our use case.
Thanks.

Yes, this behavior should be resolved. Please let me know if the problem still persists on your end.

It is solved for me too.
Thanks

1 Like