I have…
- Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
- Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- Bug report
- Performance issue
- Documentation issue or request
I trie to make a request via Postman to https://cms.example.com/api/content/example-app/bulk like it is described in the “shared” section of the content API and here [IMPLEMENTED] Bulk multiple contents update - #5 by Sebastian.
Body of my request:
{
"jobs": [
{
"query": {
"filter": {
"path": "created",
"op": "lt",
"value": "2024-07-31T00:00:00Z"
}
},
"type": "Delete",
"permanent": true
}
]
}
Current behavior
I get an validation error and cant figure out what I am doing wrong.
{
"message": "Validation error",
"traceId": "00-2b478c6bfbae93c54f27629cdc07ae52-db1460ede4ec12a1-01",
"type": "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.1",
"details": [
"Request body has an invalid format."
],
"statusCode": 400
}
Expected behavior
No error and all data on all schemas deleted that was created before 2024-07-31.
Minimal reproduction of the problem
Create one app with 2 schema and some content. Try do delete everything before a certain timestamp.
Environment
App Name:
- Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: [VERSION]
Browser:
- Chrome (desktop)
- Chrome (Android)
- Chrome (iOS)
- Firefox
- Safari (desktop)
- Safari (iOS)
- IE
- Edge
Others:
I am using the API with Postman. Client is owner of the app with all rights.