I got a "Stale request" error for my upload API call, what does it mean?

Follow

Comments

4 comments

  • Avatar
    Tim Strietzel

    That is realy a helpful post! Thank you, Orly!

    Especially if you use VMs for development that you frequently hibernate/suspend and resume later on the VMs you can run into problems. The operating system (Ubuntu in my case) can lose track of the "real" time which leads to the error.

    Simply updating the system time of your development VM fixes the issue.

    Cheers!

    Tim

  • Avatar
    kidkeeper

    It's not working on my own computer (not a VM).
    For some reason it doesn't take my local time and I can't set the time - it doesn't work:
    cloudinary = new Cloudinary(...);
    cloudinary.uploader().upload(file,
    ObjectUtils.asMap("timestamp", "129830123"));

    What I am doing wrong?

    P.S - It worked one time, I don't know what was changed...

    Thanks!

  • Avatar
    emmanuel

    hello, Orly Bogler, does this mean I have to reset my time? How exactly do I solve this problem, pls?

  • Avatar
    Maor Gariv

    Hi Emmanuel,

    Can you elaborate on your issue (provide relevant code, error message, etc.)?
    Feel free to open a new support ticket (https://support.cloudinary.com/hc/en-us/requests/new) if privacy is an issue.

Please sign in to leave a comment.