Upload started failing in May - used to work like clockwork

bluecookiemonsterbluecookiemonster Registered Users Posts: 6 Big grins
Hi,

Sometime after May 2nd uploads started failing for code that's been untouched for months. What changed? How do I rectify this?

The response I receive is:
{"stat":"fail","method":"smugmug.images.upload","code":5,"message":"system error"}

It went from never failing to failing 100% of the time. I can get more information if anyone wants it to debug this further.

Thanks,
/P

Comments

  • bluecookiemonsterbluecookiemonster Registered Users Posts: 6 Big grins
    edited May 11, 2015
    I think I figured it out!

    Turns out my code's Authorization request was for "Access=Full" and did not specify "Permissions". This has led to Permissions being set to "Read". It's always been the case. If I Authorize the app for "Access=Full&Permissions=Modify" it works.

    Hope someone else finds this information useful.

    Again, nothing changed in this fully functional and deployed code. So something must have changed on servers side to be more strict in this check. My bad I guess, I probably tried it and since it worked I didn't think about it again. :-)

    Cheers!
    /P
Sign In or Register to comment.