ACE - 401 response when using query parameters with JWT

Currently working on a JIRA addon using the ACE framework. Executing a request using the integrated httpClient.

When I make a request such as this

https://instance.atlassian.net/rest/api/3/search

it works fine using the header Authorization: JWT <token> but when I run the same request with a query parameter like this

https://instance.atlassian.net/rest/api/3/search?maxResults=1

the request fails with a 401. I have confirmed that the JWT is not expired due to reverting the query parameters and seeing success again.

My atlassian-connect.json has scope READ as requested by the endpoint.

Any suggestions?

Looks like the problem is the wrapped httpClient for the ACE framework can’t handle using the qs property to pass query params when it generates the query string hash.