{"error" ;{},"surveyErrorCode":"submit02") Issue

4321
12
07-17-2023 10:13 AM
MichaelSinclairStantec
Emerging Contributor

The field inspectors have been having this issue off and on every so often and the internet does not seem to know what's going on... my leading theory is that it is an issue with the photo because of the submit#2 issues but I don't know how to confirm or fix that.

Any help?

0.png

12 Replies
RehemaUwamahoro
New Contributor

Did you get an answer cause I have got the same issue

0 Kudos
Natalia
Emerging Contributor

Hi, I had the same error. I uploaded 21 photos to my survey. I reduced the number to 12 and was able to submit. The issue seems to be the number of attachements specified in the form.

Let me know if that sorts your issue.

Nat

0 Kudos
Adam_blaine
Occasional Contributor

In my testing, the issue is happening because of an image-type file upload detail. The underscores that are created as part of my phone's image naming scheme were causing this error. I also found that spaces caused this issue, so there's probably many others as well.

To address this for a public-facing form, I used the bind::esri:parameters field to give the photo being uploaded a default name of "img". You can see the details here and my syntax below. You could be fancier and use info from your form, but I didn't need that; be careful of special character issues if you do.

filename="img"

 

0 Kudos