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

Async TAP: support error docs in plain text

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • SUIT

    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

            LSST TAP services is sending errors as plain text docs.

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

            People

              tatianag Tatiana Goldina
              tatianag Tatiana Goldina
              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:

                Jenkins

                  No builds found.