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

Vimeo::Advanced::RequestFailed: 301: Invalid consumer key, explanation: The consumer key passed was not valid #38

Open
santoshw opened this issue May 11, 2012 · 2 comments

Comments

@santoshw
Copy link

I have saved the proper consumer key, consumer secrete and access token, access secret on my machine.

Through rails console, I tried to upload video to the PRO account but I'm getting the error,
Vimeo::Advanced::RequestFailed: 301: Invalid consumer key, explanation: The consumer key passed was not valid

what I'm doing here is,
upload = Vimeo::Advanced::Upload.new(CONSUMER_KEY, CONSUMER_SECRET, :token => vc.token, :secret => vc.secret)

and then
upload.upload("#{Rails.root}/app/vimeo-test/video_for_testing.mov")
getting above error.

But when I try
person = Vimeo::Advanced::Person.new(CONSUMER_KEY, CONSUMER_SECRET, :token => vc.token, :secret => vc.secret)
person.get_info("user11524060")

I get proper result.
{"generated_in"=>"0.0479", "stat"=>"ok", "person"=>{"created_on"=>"2012-05-01 04:11:59", "id"=>"11524060", "is_contact"=>"0", "is_plus"=>"0", "is_pro"=>"1", ....... }}

Here consumer key looks valid.

Then what is the problem with upload method.

@santoshw
Copy link
Author

Waiting for your reply...

@santoshw
Copy link
Author

Hey that above error gone. Not getting this error, while uploading...

Vimeo::Advanced::SimpleUpload::UploadError: Validation of chunks failed.

How to solve this? (I'm trying to upload video through rails console)

Has Vimeo API changed? Because I'm seeing UI changes from last two weeks and some more information are required to create/register new app on the Vimeo site.

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