How do I correct my Portal sync errors?

120
2
08-26-2020 01:50 PM
AaronScott2
New Contributor

I am able to sync data from Collector to Portal when the i use a Hosted Feature service derived from a file geodatabase. The data is copied to the data store.

I am unable to sync edits from Collector back to Portal when I am using a Feature Service derived from an SDE feature class. When publishing the service it references the registered database in the data store. I am able to create offline areas and collect points. The data will not sync. It fails every time. 

This is part of the error message.

8/26/20, 1:30 PM [ACF5C07A-D09A-48C7-BEEB-63FD1BEE6963] - Layer: (Gates from Production) Error: Error Domain=com.esri.arcgis.runtime.services.error Code=400 "Unknown error occurred" UserInfo={NSLocalizedFailureReason=Unable to complete operation., NSURL=https://<URL - removed by me>/FeatureServer/jobs/j52a8bc219ee2420096c095709567fba0, responseJSON={
error = {
code = 400;
description = "Unable to complete operation.";
extendedCode = "-2147467259";
};
lastUpdatedTime = 1598473840000;
replicaName = "";
resultUrl = "";
status = Failed;
submissionTime = 1598473831000;
}, NSLocalizedDescription=Unknown error occurred}

This is another art of the error log. 


8/26/20, 1:30 PM [ACF5C07A-D09A-48C7-BEEB-63FD1BEE6963] - Message 10/12: Sync geodatabase: Failed: "Job error 22 User defined failure. Error while handling get server sync job status. Job error 400 Unable to complete operation."

Someone mentioned to me that it may have to do with the way my organization has Portal Authentication set up. I don't really understand what that means. Is there an incorrect method for Portal authentication for this sync error to occur.

I hope this post isn't too confusing. Any help is greatly appreciated.

Tags (2)
Reply
0 Kudos
2 Replies
RuiGe
by Esri Contributor
Esri Contributor

Hi, Aaron, 

If you edit the map in online mode, does the change post on the portal as expected?

Reply
0 Kudos
AaronScott2
New Contributor

I do show newer features in Portal that were collected with the device. They must have been created online, because every attempt to sync after going offline fails.

Reply
0 Kudos