Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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

Avatar

Correct answer by
Level 4

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

Avatar

Correct answer by
Level 4

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