"invalid session" for smugmug.albums.get in 1.2.2

mhawthornemhawthorne Registered Users Posts: 2 Beginner grinner
I tried to use oauth for awhile, but since I'm just writing a script to grab some of my images, it doesn't seem appropriate.

Now I am using smugmug.login.withPassword. I get back a session id, but when I try to invoke smugmug.albums.get:
/services/api/json/1.2.2/?method=smugmug.albums.get&SessionId=xxxx

I get:
{"stat":"fail","method":"smugmug.albums.get","code":3,"message":"invalid session"}

Any ideas? Thanks!

Comments

  • mhawthornemhawthorne Registered Users Posts: 2 Beginner grinner
    edited August 25, 2008
    Whoops -- it should be SessionID not SessionId.

    mhawthorne wrote:
    I tried to use oauth for awhile, but since I'm just writing a script to grab some of my images, it doesn't seem appropriate.

    Now I am using smugmug.login.withPassword. I get back a session id, but when I try to invoke smugmug.albums.get:
    /services/api/json/1.2.2/?method=smugmug.albums.get&SessionId=xxxx

    I get:
    {"stat":"fail","method":"smugmug.albums.get","code":3,"message":"invalid session"}

    Any ideas? Thanks!
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited August 25, 2008
    To Devbobo: David, looks like we're getting another outbreak of Error 5. :cry
    I already have sent you an info on one of mine.
    "May the f/stop be with you!"
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited August 25, 2008
    Nikolai wrote:
    To Devbobo: David, looks like we're getting another outbreak of Error 5. :cry
    I already have sent you an info on one of mine.

    no, the reported issue above was user error
    David Parry
    SmugMug API Developer
    My Photos
  • NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited August 25, 2008
    devbobo wrote:
    no, the reported issue above was user error
    Ah ok, thanks, so it's only me then :-)
    "May the f/stop be with you!"
Sign In or Register to comment.