404 not found on bulk update operation

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

  1. Run local version of squidex
  2. Create and publish schema with name test
  3. Create text field objectName in schema test
  4. Create content item with name testname in schema test
  5. Try to update or delete content with name testname via Bulk update content items. API method.
  6. Get 404 error.

Here is requests/endpoints/parameters i’ve tried to combine to get this method to work:

Endpoints:

  1. http://localhost/api/content/{app}/{schema}/bulk
  2. http://localhost/api/content/{app}/bulk

Query parameters:

  1. schema (string) - The name of the schema.

Request body examples:

  1. First example:
{
  "jobs": [
    {
      "id": "8e97c6f7-fd9c-4f84-9b64-81e261c3ee13",
      "type": "Delete",
      "schema": "c0fc31ee-7181-42c2-b2c5-4245fa351be5"
    }
  ]
}
  1. 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!

Have you also replaced the app name?