The UpgradeableApp API continues to issue "Invalid OAuth User Key"

Given the following ruby ​​code:

consumer = OAuth::Consumer.new(consumer_key, consumer_secret, {
  site: "https://www.googleapis.com"
})

resp = consumer.request(:put, "/appsmarket/v2/upgradableApp/#{listingId}/#{cwsId}/#{domain}")

puts resp.code+"\n"
puts resp.body

      

The UpgradeableApp API keeps throwing "Invalid OAuth user key" error. The consumer key (in XXXXXXXXXXXX.apps.googleusercontent.com format) was copied directly from the legacy markets list as described in the docs.

I AM:

  • checked the correct time and system synchronization via ntp.
  • tried to include xoauth_requestor_id
  • tried to create the request myself via curl (using this to generate the oauth signature)
  • tried to enable "Google Apps Marketplace API" under "Register for Additional APIs" in the deprecated markets list.

Is anyone else experiencing this? Thoughts of other things can I try?

UPDATE 09/10/2014 . I had confirmation from Google that it was the problem at their end for which the fix was applied. Since then I have been able to successfully use the ruby ​​code above for porting.

+3


source to share


1 answer


I got confirmation from google that it was the issue at their end for which the hotfix was applied. Since then, I have been able to successfully use the ruby ​​code above for porting.



0


source







All Articles