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
Current behavior
Bulk update content items
method returns 404 with whatever parameters i use, even though i double checked content, schema and app exists.
Expected behavior
Bulk update content items
returns 200, and updates items with accordance to provided job.
Minimal reproduction of the problem
- Run local version of squidex
- Create and publish schema with name
test
- Create text field
objectName
in schematest
- Create content item with name
testname
in schematest
- Try to update or delete content with name
testname
viaBulk update content items.
API method. - Get 404 error.
Here is requests/endpoints/parameters i’ve tried to combine to get this method to work:
Endpoints:
Query parameters:
schema
(string) - The name of the schema.
Request body examples:
- First example:
{
"jobs": [
{
"id": "8e97c6f7-fd9c-4f84-9b64-81e261c3ee13",
"type": "Delete",
"schema": "c0fc31ee-7181-42c2-b2c5-4245fa351be5"
}
]
}
- Second example:
{
"jobs": [
{
"type": "Patch",
"query": {
"filter": {
"path": "data.objectName.iv",
"op": "eq",
"value": "testname"
}
},
"expectedCount": 1,
"data": {
"objectName": {
"iv": "testname"
}
}
}
]
}
I’ve tried to combine those requests under both endpoints but always receive 404 from bulk endpoints, the response is always undescriptive:
{
"message": "",
"traceId": "00-4570b18791deec1d90a71cecb63c0123-09bc3aced31493a4-01",
"type": "https://www.rfc-editor.org/rfc/rfc7231#section-6.5.4",
"statusCode": 404
}
Environment
App Name: default
- Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: 7.15.0.0
Thank you very much in advance for your response!