Error Domain=com.esri.arcgis.runtime.services.error Code=500 "Unable to create replica. Please check your parameters." UserInfo={NSLocalizedFailureReason=Exporting attachments for layer 6 failed., NSURL=https://services3.arcgis.com/u3phwU3HZ4xu9RY1/arcgis/rest/services/HazRT_TransactionalData/FeatureServer/jobs/db2606d4-4956-40c1-8a1c-657e4e024e85, responseJSON={
error = {
code = 500;
details = (
"Exporting attachments for layer 6 failed."
);
message = "Unable to create replica. Please check your parameters.";
};
lastUpdatedTime = 1534943956840;
replicaID = "51499c33-153a-4743-82e5-40474fd7d69b";
replicaName = "MyReplica_1112";
status = Failed;
submissionTime = 1534943944933;
targetType = client;
}, NSLocalizedDescription=Unable to create replica. Please check your parameters.}
The table structure like this Hazard (Geometry layer) - > HazardAttachment(Non spatial table with attachment enabled, we add actual image in this table, not in hazard layer ) and the relation is 1 to many. Here we didn't put attachment directly in Hazard layer due to some business logic consideration.
The problem is we can successfully add Hazard record and HazardAttachment record along with the image to the service. And we can view the uploaded image from the web. But when we want to offline/download the data from service, the service returned the error with message "Exporting attachments for layer 6 failed." , here layer 6 means HazardAttachment table.
Can anyone help to check this? Thanks.