[API] Intermittent empty result set on calls

  • Enterprise Edition
  • Version 8.6.1 (build 40680)

When we make API requests for issues, we receive an empty result set.

We have tried cache busting techniques and used tokens with the highest authentication but same call would produce results where the subsequent one will return an empty result set.

If the call is executed again, we might receive the actual result set. There doesn’t seem to be a consistency to the faulty behaviour.

In the screenshot you can see the same call executed 4 times back to back.

  • 1st result
  • 2nd empty
  • 3rd empty
  • 4th result

This is a blocker for us, preventing automation with our internal reporting and tracking processes.

Thanks.

Hi,

First, your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.6.1 → 8.9.2 → 9.0.1 (last step optional)

Regarding your actual question, you should first check your server logs, starting in this case with the access log. I’d be willing to bet that only 2 of your 4 calls got through. If they do all show up in the access log, then I’d move on to web.log.

 
HTH,
Ann

Hi Ann,

We are looking to the upgrade path.

Well the calls are reaching the server as you can see it is returning an API response with empty results.

Hi,

You’re right. I guess I got confused. Anything interesting in your server logs?

 
Ann