Comments (12)
Hi, I'm facing the same problem trying to use UploadEntireFileAsync method.
Error generating upload ticket.\nCode: BadRequest\nMessage: {"invalid_parameters":[{"field":"type","error_code":2552,"error":"The streaming approach is no longer functional. For alternatives, please visit https://developer.vimeo.com/api/upload/videos#understanding-upload-approaches.","developer_message":"The streaming approach is no longer functional. For alternatives, please visit https://developer.vimeo.com/api/upload/videos#understanding-upload-approaches."}],"error":"You have provided an invalid parameter. Please contact developer of this application.","link":null,"developer_message":"The parameters passed to this API endpoint didn't pass Vimeo's validation. Please check the invalid_parameters list for more information.","error_code":2204}
As the error suggests this method is trying to pass an invalid "type" parameter, I tried to figure out what was the error but I haven't had the opportunity to try to open a pull request to solve this question. However I think that the error happens because of the ContinueUploadFileAsync method that is called inside UploadEntireFileAsync method.
from vimeo-dot-net.
If you receive "The streaming approach is no longer functional" you are using old version of the library. Please update to the latest.
from vimeo-dot-net.
Same with me, I am using vimeodotnet version 2.0.0.23 and everything is working fine except UploadEntireFileAsync functions it throws error with developer message saying: "developer_message":"The streaming approach is no longer functional.
from vimeo-dot-net.
Hi, I am using version 3.2.3 of the ibrary. The upload procedure kicks in but it only creates a placeholder and the file is not being uploaded.
if (string.IsNullOrWhiteSpace(fileToUpload)) return null;
var ticket = _client.GetUploadTicketAsync(100).Result;
IUploadRequest resp = null;
using (var file = new BinaryContent(new FileInfo(fileToUpload).Create(), "video/mp4"))
{
var length = file.Data.Length;
resp = _client.UploadEntireFileAsync(file, length ).Result;
}
return GetVideo(resp.ClipId.ToString());
from vimeo-dot-net.
Hi,
For me the video is getting uploaded but it's ending up as "untitled".
var binaryContent = new BinaryContent("......\\testVideo.mp4"); vimeoClient.UploadEntireFileAsync(binaryContent).Result
from vimeo-dot-net.
Hello Ferozhussain. My email id is [email protected]. Please contact me on Skype because I need your help to upload the videos. I am just able to create a colored placeholder . Thanks
from vimeo-dot-net.
hi @nesanmano ,
I just looked at your code looks like you are trying to create a token. which is not required at that stage.
you can simply call this below code and make it work.
var binaryContent = new BinaryContent("file path goes here"); var video = vimeoClient.UploadEntireFileAsync(binaryContent).Result;
from vimeo-dot-net.
Hi @ferozhussain ; Thank you so much it is working. Even thought I did not use the token, I did not understand why it never uploaded successfully. Maybe my call to create which trigger an a file stream was the culprit.
from vimeo-dot-net.
Hi @ferozhussain , could you please help me with this, I am trying to create an album before the upload but I keep getting invalid parameters.
EditAlbumParameters editAlbumParameters =
new EditAlbumParameters()
{
Name = name,
Description = description,
Sort = EditAlbumSortOption.AddedLast
};
if (!string.IsNullOrWhiteSpace(password))
{
editAlbumParameters.Privacy = EditAlbumPrivacyOption.Password;
editAlbumParameters.Password = password;
}
var res = _client.CreateAlbumAsync(UserId.Me, editAlbumParameters).Result;
Thank you
from vimeo-dot-net.
Hello, I have the same problem: "The streaming approach is no longer functional. For alternatives, please visit https://developer.vimeo.com/api/upload/videos#understanding-upload-approaches."
from vimeo-dot-net.
@Joao98Victor @Vicnovais which version are you using
from vimeo-dot-net.
After updating to the newer version (3.2.4) it works! Thanks!
from vimeo-dot-net.
Related Issues (20)
- Get project ID of an account
- MoveVideoToFolder not working HOT 1
- Error uploading file chunk. Code: InternalServerError Message:
- GetUserFolders is always using /me/
- How we can upload videos in certain folder using Dotnet vimeo? HOT 2
- Why there's no sort param on GetVideosAsync?? HOT 2
- UploadEntireFileAsync Does not update Name HOT 1
- Cant seem to upload video via a free account HOT 3
- inquiry about SetThumbnailAsync
- [3.2.0] : Error when setting ReviewLinkEnable in metdata when uploading video HOT 1
- GetVideoAsync not retrieving Download links HOT 9
- ClipId not being returned in the result of UploadEntireFileAsync HOT 4
- Error generating upload ticket. Code: BadRequest HOT 3
- Verify if the client has scopes
- CreateAlbumAsync Album creation SORT option invalid.
- Error uploading chunks issue on uploading video to vimeo HOT 1
- Vimeo API 3.4 removed link_secure HOT 1
- Batch update metadata using a list of video ids HOT 1
- Getting "Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED" all of a sudden. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimeo-dot-net.