Api call Find 'Project' entities not working

Hi,

i got bad request, if i am trying to run " Find ‘Project’ entities using the specified (body) parameters." Can someone have a look at this, thanks.

Error on Postman:

{
“type”: “SchemaValidationError”,
“code”: “API_INVALID_INPUT_DATA”,
“message”: “Validation failed because no alternatives match: ‘String must have the following value: ‘seq’ at DataReadParams.order.0.order, String must have one of the allowed values: asc|desc at DataReadParams.order.0.order’ at DataReadParams.order.0”,
“reqid”: “GTGybZlt9X8tEtsBUBqd”
}

Hi and welcome to the forum!

According to the error, you have specified something invalid for the “order” object in the body of the POST request.

If you don’t need the result in a specific order, you can just remove it from the body.

If you want to order the result by a column, e.g. “title” in ascending order, it would look like this:

order: [{
    column: "title",
    order: "asc"
}]

and for descending order:

order: [{
    column: "title",
    order: "desc"
}]

I hope this information helps to resolve your issue. If not, it would be great if you could post the body of your request so that I can say for sure what’s causing the error.

Best regards,
Hanna