question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload preset must be whitelisted for unsigned uploads - question

See original GitHub issue

the following error hola que tal greetings to the community have the following questions when saving an image appears Cloudinary

` $scope.uploadPic = function(file) { Upload.upload({ url: “https://api.cloudinary.com/v1_1/” + cloudinary.config().cloud_name + “/image/upload”, data: { upload_preset: cloudinary.config().upload_preset, tags: ‘myphotoalbum’, public_id: ‘dwdw’, context: ‘photo=’ + file.name, file: file } }).progress(function(e) { console.log(e); }).success(function(data, status, headers, config) { console.log(data, status, headers, config); }).error(function(data, status, headers, config) { console.log(data, status, headers, config); });

};`

captura2

and reestablished the Upload presets for testing and this error keeps coming. How I can avoid this error?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
taraganocommented, Feb 14, 2016

As long as you use unsigned uploads, you should make sure that the upload preset you’ve defined is unsigned. This can be done via your account’s Upload settings page, click “Edit” next to your upload preset, and change its “Mode” to “Unsigned”.

0reactions
ghostcommented, Nov 21, 2018

Hi,

i tried Unsigned = true parameter but it does not help me.

i will raise a support ticket.

thanks, Srini.

On Tue, Nov 20, 2018, 7:01 PM Marissa Masangcay <notifications@github.com wrote:

Hi @srinigithub2016 https://github.com/srinigithub2016,

We’d be happy to take a look at your logs if you could provide us with your cloud name. If you’d like to keep this information private please feel free to open a support ticket with us at the following link:

https://support.cloudinary.com/hc/en-us/requests/new

Also, have you tried passing in the parameter Unsigned = true with this call? Just as a side note as well, is there a particular reason that you want to perform an unsigned upload from the server side? You typically want to perform an unsigned upload when you’re uploading from the Client side.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cloudinary/cloudinary_angular/issues/51#issuecomment-440489103, or mute the thread https://github.com/notifications/unsubscribe-auth/AQQrvIF7uN_GnpaLqtkpwyVkvpeafXLZks5uxKXygaJpZM4HVUsc .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cloudinary - Upload preset must be in whitelist for unsigned ...
I am getting an error of code 1, having message "upload preset must be in whitelist for unsigned uploads." How to solve this...
Read more >
Upload preset must be specified when using unsigned upload
Hi everyone, I'm trying to upload an image with the signedUpload function. Right after the call i get this error from the SDK:...
Read more >
Cloudinary - Upload preset must be in whitelist ... - Ionic Forum
Hi, I want to upload image, to Cloudinary, taken directly from camera in Ionic using cordova camera plugin. I am getting an error...
Read more >
Upload preset must be whitelisted for unsigned uploads
Upload preset must be whitelisted for unsigned uploads - question.
Read more >
uploading images to cloudinary - code-comments
upload_preset - The name of an unsigned upload preset that you defined for unsigned uploading to your Cloudinary account.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found