Uploaded image for project: 'Opsgenie'
  1. Opsgenie
  2. OPSGENIE-860

Getting error 422 instead 404 for Schedule API calls

XMLWordPrintable

      Issue Summary

      Hello team, Noticed a (422Unprocessable Entity) error when querying the schedule API request (https://api.opsgenie.com/v2/schedules/:identifier).
      When queried with GET API with wrong details getting a 422 error where a 404 error was expected. All other API calls seem to properly give 404 except the Schedule API.

      This is reproducible on Data Center: (yes) / (no)
      Yes

      Steps to Reproduce

      Sending GET request with wrong schedule name with https://api.opsgenie.com/v2/schedules/:identifier

      Expected Results

      404 error is expected when the data was not available

      Actual Results

      Getting 422Unprocessable Entity error

      Workaround

      NA

              00bded24e86f btezergil
              f04db879384a Mubeen Mohammed
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: