Importing wrong JSON file does not return structured error response

XMLWordPrintable

    • Not defined

      Reproduce:

      • Import a file with the following content:
        {
          "userId": "thisisanordinaryuserid",
          "userPassword": "!§$%&/()=?",
          "userFirstName": "Üßgart",
          "userLastName": "där Schröckliche",
          "email": "uessgart.der-schroekliche@gmx.de"
        }
        

      Expected:

      • Backend response is a JSON object with a valid errorCode that can be used to display an error notification

      Observed:

      • Backend response is
        Missing type id when trying to resolve subtype of [simple type, class org.camunda.optimize.dto.optimize.rest.export.OptimizeEntityExportDto]: missing type id property 'exportEntityType'
         at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 7, column: 1]
        

            Assignee:
            Unassigned
            Reporter:
            Sebastian Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: