This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Direct API Invalid Signature String to sign - 'timestamp=1541651684'."

Comments

3 comments

  • Avatar
    Yakir Perlin

    Hi,

    In this example you sign this string: " 'folder=aabbcc&timestamp=' + timestamp + api_secret", but you did not used the "folder" parameter in you upload call:

    formdata.append('file', {uri:uri, type:'image/jpg', name:'aaa.jpg'});

    You used only the "file" parameter and not the also "folder". This is why you received this message: "String to sign - 'timestamp=1541651684' because we expected to sign only the timestamp.

    Hope this helps, could you please try again and let me know if it works for you?

    Best,

    Yakir

     

    0
    Comment actions Permalink
  • Avatar
    Ce Zhang

    Hi Yakir,

    I add a standalone 

    formdata.append('folder', 'aabbcc');
     
    It worked! 
     
    Thanks you so much for your help!
    0
    Comment actions Permalink
  • Avatar
    Yakir Perlin

    Great! 

    Glad I could help.

    Best,

    Yakir

    0
    Comment actions Permalink

Post is closed for comments.