Invalid signature on upload
Hi,
I'm trying implement signed uploads with Angular and .net core 3, but my signatures are always invalid, the error message I'm getting is :
"Invalid Signature <my-signature>. String to sign - 'folder=clubCarpool&source=uw×tamp=1588084033&upload_preset=ml_default'.
But I can't find the missing informations when I generate my signature.
To generate the signature I'm using the dotnet core cloudinary library, and on the front-end side I'm using the upload widget. Here's the code I'm using to do this :
On the Angular side to create the widget :
In the _paramsToSignIn, all the keys-value pairs I have are :
"timestamp", "folder", "upload_preset" and "source", should I add another parameter to generate a valid signature ?
Regards,
Nathan
-
Hi Nathan,
Along with the params to sign also please note that the order is important. It is arranged in alphabetical order. Please use the exact string: `folder=clubCarpool&source=uw×tamp=1588084033&upload_preset=ml_default`.
If you still experience the issue then please open a support ticket here:https://support.cloudinary.com/hc/en-us/requests/new and we will be able to dig in deeper.
Regards,
Aditi
1 -
Thank you very much for your quick response, I was able to fix the issue :)
0
Post is closed for comments.
Comments
2 comments