Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10394

Update documentation example regarding fetch API endpoint

    Details

    • Type: Task
    • Status: Ready
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:

      Description

      What are the steps to reproduce your problem?
      Send a POST request to the /external-task/fetchAndLock endpoint
      Include either a string or a list of strings in the "tenantIdIn" parameter

      What is the problem?
      400 returned

      {
          "type": "MismatchedInputException",
          "message": "Cannot deserialize instance of `java.lang.String[]` out of VALUE_STRING token\n at [Source: (org.camunda.bpm.engine.rest.filter.EmptyBodyFilter$1$1); line: 9, column: 27] (through reference chain: org.camunda.bpm.engine.rest.dto.externaltask.FetchExternalTasksExtendedDto[\"topics\"]->java.util.ArrayList[0]->org.camunda.bpm.engine.rest.dto.externaltask.FetchExternalTasksDto$FetchExternalTaskTopicDto[\"tenantIdIn\"])"
      }
      

      What would be the expected behaviour:
      200 as per example: https://docs.camunda.org/manual/7.10/reference/rest/external-task/fetch/#request-1

      Hints (optional):

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            ilias.kourtoudis Ilias Kourtoudis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development