Invalid Signature
Hello everyone, i keep getting this response. It doesn't break my code but the image doesn't upload either.
{
message: "Invalid Signature 2a44d83d64194cbe4e75852fabaa8770e186d0b1. String to sign - 'folder=utility-app/uploads/profiles/&public_id=f6c209e4-660b-4b21-b626-031da4c3daa4×tamp=1669971839'.",
name: 'Error',
http_code: 401
}
I'm using cloudinary in node, below is my actual code.
-
Hi Vincent,
I've removed the API secret from your message, but now that you've exposed it in a public forum, you should create a new key immediately and deactivate the old one.
Regarding the error, when you're using one of our SDKs, the most likely explanations are that you haven't passed the correct API secret to the SDK for the cloud you're trying to upload to, or when we take the provided parameters to check the signature, something doesn't match.
Assuming the api secret is correct, the next thing I notice is that you have a trailing '/' on the folder name which isn't correct - does it work if you remove that?
Regards,
Stephen
0
Post is closed for comments.
Comments
1 comment