Hello, I'm trying to create a folder in a Program using the POST /rest/asset/v1/folders.json endpoint.
Here is the parameters I'm sending:
{
name: "InEvent",
description: "Test",
parent: {
id: 1008,
type: "Program"
}
}
Here is the response I'm getting:
{
requestId: "10af3#1802411f082",
success: false,
warnings: [ ],
errors: [{
code: "611",
message: "System error"
}]
}
I'm also getting the exact same error when creating a Static List, here is the requestId: aba7#1802419a646
Any help please?
Are you passing the request payload in the application/x-www-form-urlencoded format in both the cases?
It should be application/json according to the documentation, that's what I'm passing.
I tried application/x-www-form-urlencoded and it didn't work too.
Nope, should be application/x-www-form-urlencoded,refer below snapshot from the documentation page.
If you're using postman, request body should be set something like below: