Upload Acces-Control-Access-Origin Error
See original GitHub issueI am running a local server on localhost:8000 and initializing the library with the clientID, clientSecrets, and accessToken. When I make the streamingUpload API call on a video uploaded by a user, I get the following error messages in my chrome developer console.:
XMLHttpRequest cannot load https://api.vimeo.com/me/videos. Response to preflight request doesn't pass access control check: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8000' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
Uncaught TypeError: res.setEncoding is not a function
Uncaught Error: Network error
Any idea what might be causing this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)

Top Related StackOverflow Question
Any news on this? I encountered the same problem. I need to upload a video via my SPA website. I also get the same error even on production whenever I do a
PATCHrequest. The initialPOST/me/videosis working though.I tried
vimeo_uploadand it seems like it’s not compatible with latest3.4accounts Issue 31. Went back here and found this PR #86. I tested it and it’s pretty much solves my problem of uploading videos via my client SPA website.