Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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

Avatar

Level 2

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 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

@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.

Avatar

Community Advisor

Hi @Vishnu9 

Could you please also check the response header?



Arun Patidar

Avatar

Level 2

@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.

Avatar

Level 2

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