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

Upload with Tus method providing invalid upload_link #112

Open
Ury18 opened this issue Jun 11, 2019 · 2 comments
Open

Upload with Tus method providing invalid upload_link #112

Ury18 opened this issue Jun 11, 2019 · 2 comments
Labels

Comments

@Ury18
Copy link

Ury18 commented Jun 11, 2019

I'm testing the Tus method for uploading videos. Everything works fine until the moment I have to do the PATCH to the upload_link provided by the POST to https://api.vimeo.com/me/videos as the api says.

https://developer.vimeo.com/api/upload/videos

The problem is that the url it provides-me returns with 404 not found.

I've tried to PATCH that url and I've also tried to open it in the browser. The result is the same.

This is the url I get in the response of the POST:

"upload_link": "https://1512435594.cloud.vimeo.com/upload?ticket_id=236126021&video_file_id=1363514859&signature=aa290e746ab912d92b4a456207845b64&v6=1&redirect_url=https%3A%2F%2Fvimeo.com%2Fupload%2Fapi%3Fvideo_file_id%3D1363514859%26app_id%3D11386%26ticket_id%3D236126021%26signature%3D8cd1d197df5a7fe722a49f36c35ab8ed381f3746"
@Ury18
Copy link
Author

Ury18 commented Jun 11, 2019

I've also noticed that I can do the POST without body and the response is exactly the same.

@tommypenner
Copy link

@Ury18 Your initial POST to /me/videos is likely not formed correctly. For a tus upload, the upload_link returned will be on the files.tus.vimeo.com domain.

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

No branches or pull requests

2 participants