Cypress API call - displaying error msg (JSON string) user friendly format

XMLWordPrintable

    • Type: Bug/Issue
    • Resolution: Resolved
    • Priority: Moderate
    • None
    • Question

      Dave,
      We are using Cypress API calls to do QRDA1 and QRDA3 validation. We noticed that when there is an error in uploaded file Cypress API call returns JSON string. We were wondering if you can help us displaying error msg in user friendly manner as it does on Cypress Application. Here is the screen shot ( ). We are expecting if you can point us to code or something, we can reuse to showcase error msg.

      Thanks
      Abhishek

        1. user_friendly_error_on_cypress.png
          user_friendly_error_on_cypress.png
          107 kB
        2. Screen Shot 2020-10-13 at 10.16.33 AM-1.png
          Screen Shot 2020-10-13 at 10.16.33 AM-1.png
          65 kB
        3. product_report.png
          product_report.png
          72 kB
        4. product_report.html
          341 kB
        5. error_table.png
          error_table.png
          40 kB
        6. Download Report.png
          Download Report.png
          28 kB

            Assignee:
            David Czulada
            Reporter:
            Abhishek Jaiswal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: