I have version 2.35 installed and I’m creating a program tracker with 2 stages. I have a problem when running the Tracker Capture, after completing the enrollment data I click the “Save and Continue” button to go to the first stage but nothing happens. In the Chrome console this error appears:
httpStatus: “Conflict”
httpStatusCode: 409
message: “Organisation unit is not part of the search scope: Eh6twhbmqN4”
status: “ERROR”
@dhis2-tracker@Gassim
Hello people. I just encountered this with one of our units and it is preventing them from doing any entry on the tracker capture app?
I see that no response was given to this issue. We are running 2.36.8.
Can we have a quick review of what could be causing this issue?
There are fixed jira tickets regarding the same error - Ticket 1726 and Ticket 1449 both on Android platform; @marcus@Gassim
should this be logged into jira for the team to check the DHIS2’s tracker capture app too?
Yes thanks @jomutsani! I was going to triage this to the @tracker-backend channel in the dhis2 workspace the moment @ifeanyiokoye posted but Slack wasn’t working. Thanks for sharing the Jira tickets it will probably provide any essential info.
I guess this is caused by search org unit of the particular user where some TEI are shared from other facilities where the user has no capture access. Try to extend search to up org unit level and see it it works.
@Gassim what is the expected behaviour of selecting org units in the “Search” scope?
Does it mean “you can search in OUs selected in ‘Capture and maintenance’ plus the ones in ‘Search’ (if that any OU is selected there)”?
Or does it mean “you can search ONLY in the OUs selected in ‘Search’” (no matter about ‘Capture and maintenance’ org units))?
Users can be given search organisation units, which makes it possible to search for tracked entity instances outside their data capture organisation units.
Searching can be done either in the context of a program, or in the context of a tracked entity type. To be give users the option of searching in the context of a program, it is necessary to configure which of the programs tracked entity attributes is searchable. To give users the option of searching in the context of a tracked entity type, you will have to configure which of the tracked entity type attributes is searchable. (source)
Searching is allowed by default for the data capture OUs, so the additional scope is provided ‘outside’ + the default.