🧐 User search API randomly returns empty response

Hi! :wave:

Last month or so, I keep getting very occasional empty responses for my clients from
/rest/api/3/user/search endpoint. Looks like I get 403 HTTP code. And few moments after the response return users again.

I have the following logic:

  1. I load users with normal JWT auth from /rest/api/3/user/search. But sometimes admins block addons from accessing users, so
  2. I load the same user list from /rest/api/3/user/search by using impersonation auth as a fallback. And the issue I have described happens here. That happens even for admin Jira users who have full permissions.

Can someone from Atlassian check this?

We’ve also stumbled upon this daily, multiple times.