Skip to main content

Destroy returning "not found"



  • Danny Valentine

    Hi Hamzat.

    My name's Danny, and I'm one of the Developer Support engineers here on Cloudinary's Customer Success team. I've had a look at our logs and see a number of successful destroy requests. Could you please provide me with the public_id of an asset that claims not to be found, as well as the full JSON response that is returned?

    If you're conscious of posting these details publicly, you're welcome to submit a support ticket privately instead.

    Looking forward to hearing back from you!

  • Hamzat Azeez

    Hello Danny, thank you very much for your response. The public_id of the asset is zrcrhjndn7s74uogd0to and the full JSON response that is returned is 

    { result: 'not found' }
  • Hamzat Azeez

    I have been able to get it working. I needed to supply the right 'resource_type' parameter in the delete request. Thanks.

  • Michal Kuperman

    Hi Hamzat,

    Thanks for providing the public_id. 

    When using the destroy method via the SDK, by default we look for an image reousrce_type, since this resource is a video, you would need to include "resource_type" set to "video" in the request as explained here:

    For now, I see that you managed to destroy this video. 
    Please let us know if you need any further assistance.



Post is closed for comments.