I am facing issue while accessing an image with my react code using <tag.json> method

Sez
Sez Member Posts: 1

https://res.cloudinary.com/drwxjbeid/image/list/tag.json


Here my tag to the image attached is 'tag'. My question is do we need to provide any account level permission to perform this activity?

I have tried by fetching details via postman by GET method it is giving response as '401 unauthorized'


Thanks,

Sez

Answers

  • Tamara
    Tamara Member, Cloudinary Staff Posts: 124

    Hi there,

    I see you didn't allow the resource list in the security settings:

    https://console.cloudinary.com/settings/c-e8d66dc0b92d0379fd82dbec676f09/security

    Please note this comment in our docs:

    By default, the list delivery type is restricted. To enable it, open the Security Settings in your Cloudinar Console, and clear Resource list item under Restricted image types. You may want to clear this option only temporarily, as needed. Alternatively, you can bypass this (and any) delivery type restriction using a signed URL.
    

    Please also make sure you tagged the asset with tag, otherwise, the call won’t return a 401 error but just nothing.

    I hope this helps, please let me know if you have any further questions.

    Best,

    Tamara