Search organisation units in user setting not working properly

Dear All,
I have using dhis2.32. I have set In the Search organisation units so the user to be able to search patient from all organisation units. But, it is not working during search any patient from tracker capture. It showed error.

  1. {httpStatus: “Conflict”, httpStatusCode: 409, status: “ERROR”,…}

  2. httpStatus: “Conflict”

  3. httpStatusCode: 409

  4. status: “ERROR”

  5. message: “Non-searchable attribute(s) can not be used during global search: [lFy5NIpf2te, VE0FBcOYy5L]”

But if i delete the Search organisation units that time it is working. In that case, it can give only those patient who are registered/enrolled within user’s own assigned org units.
This same bug found in 2.31 too.

Thanks in advance for your kind support.

Best Regards
Fatema

Similar was in 2.24

I’m finding the same issue in 2.34 instance. The attribute is searchable in the program settings. I double checked it. Can anyone help?

Hey @Fatemacse and @Monjur
Trying to reproduce this in play, but it seems I need some more information. Can you have a look at the tracked entity type attribute config as well? Is this attribute existing as a tracked entity type attribute, and is it set as a searchable attribute there?

What version of 2.34 are you running? Could you try and reproduce in play 2.34.4? https://play.dhis2.org/2.34.4/

Markus

Thanks @Markus . Sorry, I wasn’t able to reproduce the error in the Play, or even in my local instance through tracker program. Actually, I’m getting this error in one of my custom app. I just posted here as the error statement is same. I wanted to get the TEI by the below query and getting the attached screenshot. The TEA is in the searchable scope and can be used in the tracker program.

http://fnh.icddrb.org/covax/api/34/trackedEntityInstances?paging=false&ou=dNLjKwsVjod&ouMode=DESCENDANTS&fields=trackedEntityInstance%2CorgUnit%2Ccreated%2Cdeleted%2Cattributes[attribute%2Cvalue]&filter=sGvacZcGaMQ%3Alike%3Amona

Please let me know if you need more information.

Monjur