PdfPrep.com

What caused this issue?

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

Exit mobile version