Folder creation attempts via the Automation Engine REST API fail with a 400 Bad Request error when following the "fold" example provided in the Swagger documentation.
Symptoms The following symptoms occur when attempting to create a folder using the example payload under the POST /{client_id}/objects endpoint:
HTTP/1.1 400 Bad Request.45106."The request is invalid and cannot be processed by the Automation Engine."A documentation defect in the Swagger UI incorrectly includes a folder creation example ("fold") under the general POST /{client_id}/objects endpoint. This endpoint is designed for standard objects; folder objects require a specialized endpoint.
To create a folder via the REST API, use the correct endpoint as shown below:
POST request to /{client_id}/folderobjects instead of /{client_id}/objects.200 OK.Note: This issue is tracked under defect DE208881. It is targeted to be fixed in the following releases:
Public Title:
Incorrect example for creating a folder
Public Description:
An incorrect example for creating Folder objects was removed from the Swagger documentation.
to receive updates regarding the fix status.
For more details on REST API object management, refer to the .