Invalid Signature 0000000000000000000000000000000000000000
Entering to cloudinary.com doens't log me in after I checked "stay logged in". If I click on Login, than I'm logged in without any interaction.
.NET Sdk doesn't handle sometimes multiple parallel requests. Sometimes no error is received but publicid of uploadresult is empty. sometimes invalid signature error is returned (but not throwed!! even at BuildUrl method. instead, "http://res.cloudinary.com/<user>/image/upload/.jpg" is returned. I would except it to be throwned up). Re-running the request succeeds.
Code:
CloudinaryDotNet.Actions.ImageUploadParams uploadBluredParams = new CloudinaryDotNet.Actions.ImageUploadParams()
{
File = new CloudinaryDotNet.Actions.FileDescription(strUrl),
Tags = strOwnerId,
};
CloudinaryDotNet.Actions.ImageUploadResult uploadBluredResult = this.cldCloudinary.Upload(uploadBluredParams);
Workaround: wrap the code in a loop and check for null publicid.
-
- You can login to the support system via Cloudinary. When you login to your Cloudinary account, and click on Support on the top right corner, you'll be auto-logged-in to the support portal.
- Cloudinary's has a safety limit of concurrent API requests per account to avoid unexpected flooding. It is not related to the plan's usage limits or the admin API hourly limits. It seems like you performed multiple concurrent requests while migrating.
If possible, it would be best if you could limit the number of concurrent requests to Cloudinary to ~50 (which usually means about 50 per second). This will make sure that you don't get failure responses.
Note that
BuildUrl
is a local method, therefore it's not supposed to throw server errors. You should check the Error member of the result.0
Post is closed for comments.
Comments
1 comment