You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: