What caused this issue?

Posted by: Pdfprep Category: AD0-E100 Tags: , ,

A developer writes the following code to programmatically copy an existing asset to another folder in the DAM:

After executing this code, the developer receives the following exception: javax.jcr.PathNotFoundException

What caused this issue?
A . The user lacks CREATE permission to the path /content/dam/projectB
B . The path /content/dam/projectB does not exist
C . The user lacks READ permission to the asset in /content/dam/projectA
D . The asset in /content/dam/projectA/asset.jpg does not exist

Answer: D

Explanation:

Reference: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/assetmanager-copyasset-method-not-working/qaq-p/209732

Leave a Reply

Your email address will not be published.