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

Error: Something strange occurred. Please try again. #31

Open
wdpdev opened this issue Apr 23, 2018 · 5 comments
Open

Error: Something strange occurred. Please try again. #31

wdpdev opened this issue Apr 23, 2018 · 5 comments

Comments

@wdpdev
Copy link

wdpdev commented Apr 23, 2018

{
"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
`}```

@Applicafroguy
Copy link

i have the same issue

@tommypenner
Copy link

@websemantics I believe this is happening because the library does not specify a version accept header. If no version accept header is specified, the Vimeo API will use an application's individual default version -- specified on the app's management page at https://developer.vimeo.com/apps.

As a quick and dirty fix, you should specify application/vnd.vimeo.*+json;version=3.2 in the request header to use the (now-deprecated) resumable/streaming put upload method.

A long-term fix would be to specify version=3.4 and update the library to use the open-source tus upload method.

More information here:
https://medium.com/vimeo-engineering-blog/introducing-the-new-vimeo-upload-api-3e208a2da760
https://developer.vimeo.com/api/upload/videos#resumable-guide
https://tus.io/protocols/resumable-upload.html

@desmartDev
Copy link

In file vimeo-uploader.js
me.prototype.upload = function() {
var xhr = new XMLHttpRequest()
xhr.open(this.httpMethod, this.url, true)
xhr.setRequestHeader('Authorization', 'Bearer ' + this.token)
xhr.setRequestHeader('Content-Type', 'application/json')

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

@vycoder
Copy link

vycoder commented Nov 8, 2018

I stumbled upon this problem and found out something related.

If you want to upgrade to the latest 3.4 API, there's a current upload file feature on PR here: chore: add upload of a blob file.

@devsideal
Copy link

When creating live event, I'm getting this error:

https://developer.vimeo.com/api/reference/live#create_live_event

{
    "error": "Something strange occurred. Please try again.",
    "link": null,
    "developer_message": "The specified resource doesn't exist.",
    "error_code": 5000
}

Any one have any idea about this?

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

6 participants