Get gratuitous failure (error code zero) after upload

Marc RochkindMarc Rochkind Registered Users Posts: 21 Big grins
My app is working fine, but after uploading an image the next API call (not an upload, but, say, for getting albums) fails with an error code of zero. I've changed my app to keep resubmitting the API request if the error code is zero after a few-second pause, and that works, but why is this?

In testing, without this resubmitting approach, the API call works if I just wait before tapping the button that requests the albums (or whatever), so that supports the theory that it's a timing thing.

Has anyone else seen this? Can someone from SmugMug confirm that there is an interval after an upload during which API calls are gratuitously rejected with no error code?

CLARIFICATION: It's not really an error code of zero, but an empty response that my software interprets as an error code of zero.
Sign In or Register to comment.