Passing invalid token to search API returns 200 with empty data

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      When you try to access the search API endpoint, and pass incorrect token it returns 200 instead of 401 error https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get 

      Steps to Reproduce

      1. Try to use a GET command and make a call
      2. Enter an incorrect token 

      Expected Results

      • 401 authentication error

      Actual Results

      200 ok 
      
      {    "issues": [],    "isLast": true}

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Varun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: