Options

Problem creating album from template

nzsnappernzsnapper Registered Users Posts: 34 Big grins
I am using the 1.3.0 API and creating an album based on a template does not appear to be picking up the settings from the template. This code has been working in the past but I something may have changed on the server side...

The following debug snippet shows the request sent and the response returned. The gallery is created with the correct name abd category etc but is not unlisted as expected from the template. Using the web interface seems to work fine.
2012/01/25 20:22:17 DEBUG -[RLSmugMugRequestMethodHelper makeSynchronousRequest:withArguments:error:] <> - Make request <OAMutableURLRequest http://api.smugmug.com/services/api/json/1.3.0/?method=smugmug.albums.create&AlbumTemplateID=216071&ThemeID=1&CategoryID=9&Title=Test3&SubCategoryID=1307528> {
    Authorization = "OAuth realm=\"\", oauth_consumer_key=\"blahblahblah\", oauth_token=\"blahblahblah\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"%2Fv71j3lD%2FQAihusg6d2rnLU5QcY%3D\", oauth_timestamp=\"1327476137\", oauth_nonce=\"52EBA0DC-FF9F-4519-9FA8-2543D6E7489F\", oauth_version=\"1.0\"";
    "User-Agent" = "SmuginPro/1.5";
}
2012/01/25 20:22:17 DEBUG -[RLSmugMugRequestMethodHelper makeSynchronousRequest:withArguments:error:] <> - Text: {"stat":"ok","method":"smugmug.albums.create","Album":{"id":21181914,"Key":"MJqrVJ"}}
2012/01/25 20:22:17 DEBUG -[RLSmugMugRequestMethodHelper makeSynchronousRequest:withArguments:error:] <> - JSON: {
    Album =     {
        Key = MJqrVJ;
        id = 21181914;
    };
    method = "smugmug.albums.create";
    stat = ok;
}

Am I doing something wrong with the request or is there a bug?

Cheers
Richard Laing

Comments

  • Options
    SamirDSamirD Registered Users Posts: 3,474 Major grins
    edited January 29, 2012
    After reading how it works fine in 1.2.2, I'd say you found a bug! thumb.gif
    Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
    Want faster uploading? Vote for FTP!
  • Options
    richWrichW Registered Users Posts: 941 Major grins
    edited January 31, 2012
    devbobo has that on his list to look at. Once he gets time to check, he'll post back all the details.
  • Options
    nzsnappernzsnapper Registered Users Posts: 34 Big grins
    edited February 1, 2012
    richW wrote: »
    devbobo has that on his list to look at. Once he gets time to check, he'll post back all the details.

    Thanks for the update.
Sign In or Register to comment.