Issue with GET:trackedEntityInstances when programStatus is specified

Hi, When calling some API endpoints I am getting below error as the response.


“could not initialize proxy [org.hisp.dhis.organisationunit.OrganisationUnit#8082] - no Session”

The strangest part is, this happens only with some accounts.

For another set of users, for the same API call, we get

Conflict",“httpStatusCode”:409,“status”:“ERROR”,“message”:"At least 1 attributes should be mentioned in the search criteria

And for some users(usually for super users) this query works fine.

What could be the cause for this and is there any temporary workaround?

Followed up in

1 Like