Expand my Community achievements bar.

Elevate your expertise and be recognized as a true influencer! Nominations for the exclusive Adobe Community Advisor program 2023 are now OPEN.
SOLVED

AEM api assets only work in author instance

Avatar

Level 3

Author instance:

https://author.xxxxx.com/api/assets/documents/pdf.json - works and print out json data.

 

Publisher instance:

https://www.xxxxx.com/api/assets/documents/pdf.json - The requested URL .../pdf.json was not found on this server.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Kam-nyc 

 

Few things to check here:-

 

1. Have you checked on the publisher whether this asset exists?

2. If asset exist, ideally it should be accessible. It might be the dispatcher is blocking it. You would need to add the dispatcher filter rule to allow /api/assets/*.

0 Replies

Avatar

Correct answer by
Community Advisor

Hi @Kam-nyc 

 

Few things to check here:-

 

1. Have you checked on the publisher whether this asset exists?

2. If asset exist, ideally it should be accessible. It might be the dispatcher is blocking it. You would need to add the dispatcher filter rule to allow /api/assets/*.