IDEA
|
In Survey123 Web, we would like the user to have the option of filling a new Survey Once they have submitted an existing one. #Survey123 This would be handy in cases of embedded Web Survey in Operations Dashboard or WebApps
... View more
02-22-2019
10:32 AM
|
1
|
0
|
210
|
POST
|
Hello James, Yes, this is using an ArcGIS Server ( 10.4) Service vian an Item in AGOL with credentials embedded. I am not sure if the AGOL Team has done any changes but this is something we realized yesterday: we got the same or similar error when we worked with the same survey but with Hosted Feature Service where we tried to upload an existing picture from the Photos Gallery of an iPad, submitting this survey failed, while taking live pictures and submitting it did not fail. It rang a bell that maybe i should look into the size limitations of the images, i updated the survey to use ArcGIS Server Service as an Item in AGOL and to use unrestricted photo size, i published and downloaded the survey on the app and I was able to submit a new survey with the same set of attachment. But still all the surveys stuck in my outbox are still there and would not resubmit, although new ones would go through and submit
... View more
01-11-2019
10:57 AM
|
0
|
0
|
769
|
POST
|
We are experiencing a similar problem, the images are uploaded successfully and the survey is moved to sent items when they are one per feature class or related table. But When we try to submit a survey 3 images using a repeat, the progress of submitting a survey stops at uploading 1 out of 3 attachments, then the submission fails and there is a red exclamation mark that does not open or give any additional information about the error. Here is what we are seeing in the error log, check the Highlighted parts <15>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="buildUploadsList" filename="XFormFeatureService.qml" line="534"] qml: uploads list: [ { "editId": 4, "parentGlobalId": "{18EFA70F-5568-4362-8D97-05A5A04FB21F}", "fieldName": "RPTBEFOREPHOTOS_image", "fileName": "RPTBEFOREPHOTOS_image-094d2b8d7dc64891b28ae56c4c3e5c8e.png", "keywords": "RPTBEFOREPHOTOS_image", "description": "Attachment field=RPTBEFOREPHOTOS_image" }, { "editId": 4, "parentGlobalId": "{DCB68C4F-2C88-4EB9-95A3-47E944D643CE}", "fieldName": "RPTBEFOREPHOTOS_image", "fileName": "RPTBEFOREPHOTOS_image-5187e0be8b5e425c955bc139a0701f09.jpg", "keywords": "RPTBEFOREPHOTOS_image", "description": "Attachment field=RPTBEFOREPHOTOS_image" }, { "editId": 4, "parentGlobalId": "{412C2FD4-15DD-4760-9572-591FDCDF0EA7}", "fieldName": "RPTBEFOREPHOTOS_image", "fileName": "RPTBEFOREPHOTOS_image-77fb652c4d4b470dba2bee3d5ad62c9f.jpg", "keywords": "RPTBEFOREPHOTOS_image", "description": "Attachment field=RPTBEFOREPHOTOS_image" } ] <15>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="uploadItem" filename="XFormFeatureService.qml" line="618"] qml: uploading: { "description": "Attachment field=RPTBEFOREPHOTOS_image", "file": "@C:/Users/<username>/ArcGIS/My Survey Attachments/RPTBEFOREPHOTOS_image-094d2b8d7dc64891b28ae56c4c3e5c8e.png" } <15>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="default"] void __thiscall NetworkRequest::sendFormData(const class QMap<class QString,class QVariant> &,const class QMap<class QString,class QVariant> &) param "C:/Users/<username>/ArcGIS/My Survey Attachments/RPTBEFOREPHOTOS_image-094d2b8d7dc64891b28ae56c4c3e5c8e.png" <15>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="default"] void __thiscall NetworkRequest::sendFormData(const class QMap<class QString,class QVariant> &,const class QMap<class QString,class QVariant> &) Skipping Parameter "C:/Users/<username>/ArcGIS/My Survey Attachments/RPTBEFOREPHOTOS_image-094d2b8d7dc64891b28ae56c4c3e5c8e.png" <15>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.AppFramework.Network"] ArcGIS.AppFramework.Network: void __thiscall NetworkRequest::setErrorCode(int) 0 <10>1 2019-01-08T21:26:13Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onErrorTextChanged" filename="PortalRequest.qml" line="75"] qml: portalRequest: https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload error <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.AppFramework.Network"] ArcGIS.AppFramework.Network: void __thiscall NetworkRequest::setErrorCode(int) 401 <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.AppFramework.Network"] ArcGIS.AppFramework.Network: void __thiscall NetworkRequest::onFinished(class QNetworkReply *) url: QUrl("https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload") <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.AppFramework.Network"] ArcGIS.AppFramework.Network: void __thiscall NetworkRequest::onFinished(class QNetworkReply *) systemProxy: (NoProxy """:0" ["Tunnel Listen UDP SctpTunnel SctpListen"]) <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.AppFramework.Network"] ArcGIS.AppFramework.Network: void __thiscall NetworkRequest::setErrorText(const class QString &) "Error transferring https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload - server replied: Server Error" <10>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onErrorTextChanged" filename="PortalRequest.qml" line="75"] qml: portalRequest: https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload error Error transferring https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload - server replied: Server Error <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="ArcGIS.Runtime.Utility"] ArcGIS.Runtime.Utility: class QVariant __cdecl JsonUtility::toVariant(const class QByteArray &,bool) Error: 5 "illegal value" Offset: 1 json: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n\n\n<html>\n<head>\n<title>HTTP ERROR 500</title>\n<body>\n\n<h3>HTTP ERROR 500</h3>\n<p>Internal Server Error<p>\n\n</body>\n\n</head>\n</html>\n" <10>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onReadyStateChanged" filename="PortalRequest.qml" line="64"] qml: PortalRequest status: 500 500 Server Error <10>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onFailed" filename="PortalRequest.qml" line="79"] qml: PortalRequest failed: url https://utility.arcgis.com/usrsvcs/servers/<featureurl>FeatureServer/uploads/upload error { "code": 500, "message": "500 Server Error" } <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onFailed" filename="XFormFeatureService.qml" line="592"] qml: upload error: {} <15>1 2019-01-08T21:26:15Z <PC Name> Survey123forArcGIS 25264 - [AppStudio@11205 category="qml" function="onFailed" filename="SubmitSurveysPage.qml" line="351"] qml: Feature service error: undefined
... View more
01-08-2019
01:57 PM
|
0
|
2
|
769
|
BLOG
|
In case you have an error with token and you are sure of your username and password. make sure your username is in the same case ( upper case, lowercase, one upper case letter or other ) as in your AGOL profile.
... View more
10-05-2018
08:17 AM
|
0
|
0
|
8457
|
POST
|
Hello, Was this problem solved ? i am facing a similar problem when submitting the survey.
... View more
06-25-2018
06:03 AM
|
0
|
0
|
1298
|
Title | Kudos | Posted |
---|---|---|
1 | 02-22-2019 10:32 AM |
Online Status |
Offline
|
Date Last Visited |
08-04-2023
05:20 AM
|