Update documentation example regarding fetch API endpoint

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: documentation

      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):

            Assignee:
            Thorben Lindhauer
            Reporter:
            Ilias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: