AEM Assets api - create folder: request gets success but no folder is created in author test env? | Community
Skip to main content
Level 4
October 20, 2021
Solved

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

  • October 20, 2021
  • 1 reply
  • 1351 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by HuiDeShao

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

1 reply

HuiDeShaoAuthorAccepted solution
Level 4
October 20, 2021

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