Hi everyone,
I've got a fairly complex Survey123 form that has been build using an XLSForm and links to an existing hosted feature layer. The survey involves multiple repeats with related tables. The top layer (a point file) gives me no trouble, nor does the child related table. However, when I add in a second related table (a child of the first related table edited via a repeat within a repeat), I get a non-specific error on submission (shown below).


<10>1 2025-07-07T20:19:06Z IAE-CMeredith ArcGISSurvey123 27916 - [AppStudio@11205 category="PortalRequest" function="onFailed" filename="PortalRequest.qml" line="149"] PortalRequest: PortalRequest failed url: https://services8.arcgis.com/Qitq5PCIrDNxTvXl/arcgis/rest/services/SWSP_EDC_v8/FeatureServer/applyEdits error: {
"code": 400,
"details": [
"'edits' parameter is invalid",
"An item with the same key has already been added.",
"Unable to apply edits."
],
"message": ""
}
<15>1 2025-07-07T20:19:06Z IAE-CMeredith ArcGISSurvey123 27916 - [AppStudio@11205 category="XFormFeatureService" function="onFailed" filename="XFormFeatureService.qml" line="810"] XFormFeatureService: applyEdits error: {
"error": {
"code": 400,
"details": [
"'edits' parameter is invalid",
"An item with the same key has already been added.",
"Unable to apply edits."
],
"message": ""
}
}
<15>1 2025-07-07T20:19:06Z IAE-CMeredith ArcGISSurvey123 27916 - [AppStudio@11205 category="qml" function="onFailed" filename="SurveyFolderPageOutbox.qml" line="378"] qml: Feature service error: {
"code": 400,
"details": [
"'edits' parameter is invalid",
"An item with the same key has already been added.",
"Unable to apply edits."
],
"message": ""
}
I've attempted to identify the specific line which causes the error by removing individual questions from the repeat which is causing the issue with no success. The error persists even when the form is stripped down to a single optional text field (shown below).

Recreating the relationship class has not solved the issue (parameters shown below).

At this point I'm not sure where to go with troubleshooting.
Any help would be greatly appreciated.
Thanks!