Attempting To Create AEM Folder Gives 409
I am attempting to create a new folder in the AEM cloud utilizing the assets/api. This is my payload
https://author-<author>.adobeaemcloud.com/api/assets/parentPath/*
Headers
Content-Type=application/x-www-form-urlencoded
Authorization=Bearer <token>
Request
name=test-folder
jcr:title=test-folder
class=assetFolder
When I run this, I get this error
{
"class": [
"core/response"
],
"properties": {
"path": "/api/assets/parent/*",
"parentLocation": "/api/assets/parent.json",
"referer": "",
"changes": [],
"location": "/api/assets/parent/*.json",
"status.message": "Resource /api/assets/parent/* already exist.",
"status.code": 409
}
}
I have also tried the json request utilizing https://author-<author>.adobeaemcloud.com/api/assets/parentPath/test-folder, which gives me a 200 OK message, but does not give me the 201 created message, and the "changes" field is still empty. Any help would be great. Thank you!




