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.