Hi, When calling some API endpoints I am getting below error as the response.
api/32/trackedEntityInstances?ouMode=ACCESSIBLE&fields=trackedEntityInstance,attributes[attribute,value],orgUnit,enrollments&paging=false&programStatus=ACTIVE&program=C1wTfmmMQUn
“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?