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

Unable to GetVideoAsync - Error retrieving user videos. at VimeoDotNet.VimeoClient.<GetVideosAsync> #146

Open
landryjeanluc opened this issue May 27, 2020 · 0 comments

Comments

@landryjeanluc
Copy link

Hey let me preface this by saying i am able to upload videos.
I am using a C# RestAPI and the video upload does work successfully.

I am in both location using the same access token, token which i have also retested using Postman and i am when using postman able to pull videos using the said token. I simply do a POST to https://api.vimeo.com/users/{{user_id}}/videos and i get all my videos back. Using my access token of course or i get an error that the credentials are incorrect)

but on the server when i try to execute the code to go get the videos on my account i get the error :
Error retrieving user videos. at VimeoDotNet.VimeoClient.

Code couldn't be simpler:
VimeoClient vc = new VimeoClient(access_token);
var vids = await vc.GetVideosAsync(userid, null, null);

ive tried the pages at 0,0 or 1,10 it all makes no difference.

I can give any more details required and would greatly appreciate any help as i love using this library on my Upload and wouldn't want to have to change away from using it. but i am not sure what to do, the code is 2 lines there isn't much to change and i have tested everything with manual postman/curl calls to make sure my access was all ok.

HELP! THANKS!

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