Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15461

Bulk CSV Import: return JSON error responses

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      2020.13 - IDM

      Description

      At the moment, the Bulk CSV Import service only returns HTTP status code headers for errors. It would help the UI if it also returned JSON error responses, so that reasonable messages can be displayed to end users.

      Example problems:

      • CSV cannot be parsed (e.g., wrong file type)
      • CSV missing header
      • CSV header invalid (not conforming to managed schema)
      • CSV has header, but missing data rows
      • CSV missing required rows (header and/or data)
      • uniqueProperty request query param missing or invalid

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                travis.haagen Travis Haagen
                Reporter:
                travis.haagen Travis Haagen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: