Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17499

Async TAP: support error docs in plain text

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:

      Description

      The TAP spec says: "Error documents should be in a format that matches the requested format where possible; see DALI (Dowler and Demleitner et al., 2017) for details." DALI says: "An error document describing errors in use of the DAL service protocol may be a VOTable document or a plain text document." We should be supporting both VOTable and plain text error docs.

      Currently, we expect error endpoint of async TAP service to return a VOTable. (See getErrorMsg of AsyncTapQuery.java) If an error doc is a plain text, we display

      unable to parse http://lsst-lspdev.ncsa.illinois.edu/tap/async/qlyirajk0ga4r7wc/error
      Content is not allowed in prolog.
      

        Attachments

          Issue Links

            Activity

            Hide
            tatianag Tatiana Goldina added a comment -

            LSST TAP services is sending errors as plain text docs.

            Show
            tatianag Tatiana Goldina added a comment - LSST TAP services is sending errors as plain text docs.
            Hide
            tatianag Tatiana Goldina added a comment -
            Show
            tatianag Tatiana Goldina added a comment - Reviewed by Loi Ly on GitHub, see https://github.com/Caltech-IPAC/firefly/pull/740

              People

              • Assignee:
                tatianag Tatiana Goldina
                Reporter:
                tatianag Tatiana Goldina
                Watchers:
                Emmanuel Joliet, Gregory Dubois-Felsmann, Tatiana Goldina, Trey Roby, Xiuqin Wu [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel