Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Assets api - create folder: request gets success but no folder is created in author test env?

Hugh_Shao
Level 3
Level 3

Hi all,
    In author test env, I am calling Assets api to create a folder. The request gets success, but when I login this author service, no folder is actually created. In addition, next, when I try to create an asset via api under the new folder I created, I am getting 500 error.

Warning I am getting when creating folder

POST /api/assets/mac HTTP/1.1] com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter LegacyUploadServletRequest: legacy asset upload servlet called, but this servlet should not be used because direct binary upload is enabled. path=/api/assets/mac, method=POST

Any ideas?
Thanks.

1 Accepted Solution
Hugh_Shao
Correct answer by
Level 3
Level 3

Not sure if it is because I give AME admin access to my id, before I am an AEM user only. It is working now...

View solution in original post

1 Reply
Hugh_Shao
Correct answer by
Level 3
Level 3

Not sure if it is because I give AME admin access to my id, before I am an AEM user only. It is working now...

View solution in original post