Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Vimeo API version to the request header to address the compatibility issue introduced by version >=3.3 #1

Open
colorfield opened this issue Sep 4, 2018 · 0 comments

Comments

@colorfield
Copy link
Owner

Problem/motivation

The upload API call is not working anymore with the https://github.com/websemantics/vimeo-upload project.

{
"error": "Something strange occurred. Please try again.",
"link": null,
"developer_message": "To access upload features for API version 3.4 when your app defaults to a different API version, include the Accept header with your request, and set its value to 3.4. For more details, see our versioning documentation at https://developer.vimeo.com/api/common-formats#versioning.",
"error_code": 3116
`}

Proposed resolution

As long as this issue is open, provide a patch for the library that adds to the upload method

xhr.setRequestHeader('Accept', 'application/vnd.vimeo.*+json;version=3.2')

Another alternative would be to use the API maintained by Vimeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant