Thank you, James. We seem to be having an issue with synchronization now.
Each time I try to sync my configuration, I receive the message in the DHIS2 log on the tablet that the synchronization failed and in the DHIS2 log for the system that an org unit is not part of the search scope. If I add the new org unit to the search scope (the org units causing the issues are not a part of the project, not even in the same country as the project), when I try to synchronize again, I have the same issue, but with a new org unit that is unrelated. Please find the errors from Android and desktop below:
Android:
[{“errorCode”:409,“errorDate”:“Jan 7, 2019 8:15:26 AM”,“errorDescription”:"{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"An error occurred, please check import summary.","response":{"responseType":"ImportSummaries","status":"ERROR","imported":0,"updated":0,"deleted":0,"ignored":1,"importOptions":{"idSchemes":{},"dryRun":false,"async":false,"importStrategy":"SYNC","mergeMode":"REPLACE","reportMode":"FULL","skipExistingCheck":false,"sharing":false,"skipNotifications":false,"datasetAllowsPeriods":false,"strictPeriods":false,"strictCategoryOptionCombos":false,"strictAttributeOptionCombos":false,"strictOrganisationUnits":false,"requireCategoryOptionCombo":false,"requireAttributeOptionCombo":false,"skipPatternValidation":false,"force":false},"importSummaries":[{"responseType":"ImportSummary","status":"ERROR","importOptions":{"idSchemes":{},"dryRun":false,"async":false,"importStrategy":"SYNC","mergeMode":"REPLACE","reportMode":"FULL","skipExistingCheck":false,"sharing":false,"skipNotifications":false,"datasetAllowsPeriods":false,"strictPeriods":false,"strictCategoryOptionCombos":false,"strictAttributeOptionCombos":false,"strictOrganisationUnits":false,"requireCategoryOptionCombo":false,"requireAttributeOptionCombo":false,"skipPatternValidation":false,"force":false},"importCount":
{"imported":0,"updated":0,"ignored":1,"deleted":0}
,"conflicts":[
{"object":"TrackedEntityInstance.trackedEntityType","value":"Invalid trackedEntityTypeSgDABZDT1cA"}
],"reference":"AQ3FoZ3oaI7"}],"total":1}}",“errorMessage”:“Server connection failed. Click to check details”},
{“errorCode”:409,“errorDate”:“Jan 7, 2019 8:15:04 AM”,“errorMessage”:“Organisation unit is not part of the search scope: Lpnz4RIuU1P”}
,
{“errorCode”:409,“errorDate”:“Jan 7, 2019 8:15:02 AM”,“errorMessage”:“Organisation unit is not part of the search scope: Lpnz4RIuU1P”}
Desktop:
WARN 2019-01-07 13:30:50,798 Resolved [org.hisp.dhis.common.IllegalQueryException: Organisation unit is not part of the search scope: WR1RxkJ7dTY] (AbstractHandlerExceptionResolver.java [http-bio-8081-exec-3166])