Skip to content

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

@santoshw

Description

@santoshw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions