Options

API Key Invalid Message

klaussonklausson Registered Users Posts: 3 Beginner grinner
When using oauth authentication, I'm getting a message saying my api key is invalid:

====================================
SmugMug doesn't recognize this application's credentials.
We're really sorry, but for some reason we're unable to authorize an application that wants to access your account.
====================================


I didn't think API keys expired and the one I'm passing has not changed (yes, it worked before). Any ideas what else could have gone wrong?

I'm using phpSmug to connect to Smugmug and the api key and secret are passed to the constructor for the phpSmug object.

Thanks in advance

Klaus

Comments

  • Options
    klaussonklausson Registered Users Posts: 3 Beginner grinner
    edited July 21, 2012
    never mind - I figured out what was wrong: I had followed the examples for phpSmug, but then I simply added my own code at the end, not realizing that it would be executed every time I was getting a request token - therefore the request token was already burned when I got to the point where I should have gotten an access token.

    I will say that the error message is a bit misleading though - had me spinning my wheels for a while :-/
Sign In or Register to comment.