photo / import

Import tool companion for all of the export tools
http://theopenphotoproject.org
Apache License 2.0
16 stars 11 forks source link

oauth_problem=consumer_key_unknown #17

Closed SteveC closed 11 years ago

SteveC commented 11 years ago

So I fetched all the JSON, I got my credentials from flickr. I looked in the database to get my credentials from a self-installed copy of openphoto. But every single photo bombs with this:

Processing 2 of 6157 20110310T133451-5515373763.json ... FAILED: 403 - oauth_problem=consumer_key_unknown

I've double and then triple checked the keys. I created a new flickr app and tried the keys from that, still no luck.

Help

samatjain commented 11 years ago

Hey Steve! We met at WhereCamp5280 back in 2010 (I was the camera guy).

I'm a bit swamped and probably won't be able to look at this in-depth until next week… but, to flesh out this issue a bit for anyone else:

Are you using openphoto.me, or your own openphoto instance? Since you're posting an Apache logger the latter is implied.

Could you go to http://www.flickr.com/services/ (logged in as your Flickr user), follow the "Apps By You" link, and check if the key you're using on the command line (and the one in the logs) is associated with any app list there?

SteveC commented 11 years ago

Hi Samat :-)

So yes, I've installed it myself.

I've double checked, I've just been doing this all day and I got confused.

The key is correct on the command line,

--consumer-key efd39d92a9d6f928c442d7ccec73dbd1

it's correct in the apache log but it's still failing:

[16-Jan-2013 17:40:42 America/Los_Angeles] {severity:warn, description:"Could not find consumer for key efd39d92a9d6f928c442d7ccec73dbd1", additional:} [16-Jan-2013 17:40:42 America/Los_Angeles] {severity:crit, description:"oauth_problem=consumer_key_unknown", additional:} [16-Jan-2013 17:40:42 America/Los_Angeles] {severity:warn, description:"oauth_problem=consumer_key_unknown", additional:}

I've attached a screen grab from the flickr site too.

What am I doing wrong!? :-) Screenshot

jmathai commented 11 years ago

This is on the OpenPhoto side. I haven't seen this problem though. If anything you'd get an invalid signature or verifier error.

If this is a publicly accessible host and you're able to generate a temporary oauth credential and email it to me I can do a couple quick tests remotely. Need the 4 key/secret values and your hostname.

Edit: jaisen@openphoto.me

SteveC commented 11 years ago

Thanks, emailed you.

SteveC commented 11 years ago

closing - I was using flickr keys when I needed values from the credential table

samatjain commented 11 years ago

@SteveC Are there any improvements we can make to documentation?