Uploaded image for project: 'Magnolia GraphQL'
  1. Magnolia GraphQL
  2. MGNLGQL-67

Should return 40x status code, not 500 when content is not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0
    • None
    • None

    Description

      Steps to reproduce

      1.  Make a graphQL request to content that does not exist (ie an incorrect path or id)
      2.  

      .. Logs, screenshots, gifs...

      Expected results

      Get a 404 error code and message about missing content

      Actual results

      Get a 500 error code - which is confusing as developer thinks somerthing is broken.

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.75d
                      0.75d