Not able to download few asset types by hitting AEM DAM Assets URL directly in publish environment | Community
Skip to main content
Level 2
July 24, 2024
Solved

Not able to download few asset types by hitting AEM DAM Assets URL directly in publish environment

  • July 24, 2024
  • 3 replies
  • 876 views

We are using AEMaaCS

 

Able to hit below URLs in browser and asset is downloaded

https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample1.jpg
https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample2.gif

https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample6.pdf

when we hit below URLs in browser instead of downloading asset they are going to Error page for asset types tiff, zip, mp3, wav, m4r
I checked for only these asset extension types . there could be more

 

https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample3.m4r

https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample4.mp3

https://publishxxxx.adobeaemcloud.com/content/dam/MyBrand/sample5.tiff

 

In author environment all asset types are downloadable when we hit asset URL directly in browser   

 

Please advice if i need to add anything in dispatcher filters or any configuration i need to enable 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Harwinder-singh

@vishnu9 You will have to allow assets with these extensions in your filters.any file.

That rule will look something like this -  { /type "allow" /extension '(css|gif|ico|js|png|swf|jpe?g)' }

add these additional extensions and it should work.

3 replies

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
July 24, 2024

@vishnu9 You will have to allow assets with these extensions in your filters.any file.

That rule will look something like this -  { /type "allow" /extension '(css|gif|ico|js|png|swf|jpe?g)' }

add these additional extensions and it should work.

arunpatidar
Community Advisor
Community Advisor
July 24, 2024

Hi @vishnu9 

Could you please also check the response header?

Arun Patidar
RahulBGPandey
Level 2
July 24, 2024

@vishnu9 

 

Can you please share what Error code you are getting? If it is 404, then it could be related to the dispatcher filter as @harwinder-singh mentioned.

Vishnu9Author
Level 2
July 26, 2024

issue is resolved after adding rule in dispatcher as suggested by @harwinder-singh