Hello,
Does anyone have any idea of what the problem might be if I receive the following message on Crowdsource Reporter please?
Thank you,
Emily
emlee
This message usually occurs because the values you are trying to write to the service are invalid in some way that the normal form validation can't catch earlier - usually because the problem field hasn't been included in the form. The most common reason for this is a field that is required, doesn't have a default value, and is not included in the Reporter form.
If you think that you have all required fields without default values exposed in the form, you can double-check this by enabling editing on all fields in the popup configuration. Required fields will be easily visible in the form, along with their default values (if any). Try submitting a report with all fields on. If that works, one-by-one turn off each field you don't want exposed in Reporter - saving the map, refreshing Reporter, and submitting a report each time.When you get the error message again you'll know which field is causing the issue.
To resolve it, you'll need to either include that field on the Reporter form, make it accept null values, or provide it with a default value in the editing template prior to publishing.
If submitting a report with all fields turned on fails as well, let me know.
I had the same error, but the source was my editable feature class that I created in ArcGIS Online. The red flag was that I couldn't edit it in a normal web map, so I definitely could not edit it in Crowdsource Reporter. Somewhere along the line, it must of become corrupted.
So, I created a new feature class (and you can create one using your old one as a template, so that was a big time saver) and placed it in my web map. Then everything worked fine.
Thanks Allison!
I've verified that a fix for this will be included in the next release. With the next AGOL release, feature collections will be supported as reference layers in Crowdsource Reporter.
That is very weird, but I'm glad it's working! I appreciate the details on what it took to get there. I will look into this more and try to get a fix into an upcoming release.
-Allison
AMuise-esristaff Ok - that worked after two attempts:
1) Save As on the map, shared it with the group, and removed the old basemap from the group = fail message but feature shows up
2) Completely new map, added the "public_input_points" feature layer, shared it with the group, and removed the copied basemap above = success!
Next, to test the 'schools' layer, I added that to the new map, refreshed the app, and received a submission failure again! So, as you started to figure out, there must be something wrong with the schools feature collection.
Next, I uploaded the 'schools' data as a shapefile (from a local zip) directly to the new map. When I refreshed the app, the schools only show up in the inset map, and the report form submission fails again.
Finally, I published the 'schools' shapefile as a feature service, added that to the map (and removed the shapefile), refreshed the app, and everything works! The schools show up in both maps, and the report submits correctly! The 'schools' feature service was from a feature layer this time, not a feature collection.
That was a lot of strange debugging, but I really appreciate your help! Hopefully this is a helpful test case and you can determine why the schools only appeared on one map, and why that data would be preventing my app from accepting new data points for the only editable layer.
Thanks again! And let me know if you need any more feedback.
Yep! Here's the app: https://clarkdietz.maps.arcgis.com/apps/CrowdsourceReporter/index.html?appid=b4ba92be86ae4694bb16e8aa0dccd673
The map and layer are both shared with everyone as well. I also noticed that a static reference layer I have in the map only shows up in the inset map in the report form, not in the larger map. Let me know what you think!
Ryan Hughes : Can you share your app, map, and layer with Everyone and either post or message me the URL to your app?
I'd like to take a look at the browser traffic when you submit a report. I'm puzzled by the fact that your report shows up even though you get the error message. Haven't seen that before.
Hi Allison,
I am running into the same issue. When I submit a test report, I receive the same error message. However, if I reload the app, the report I submitted will be visible on the map and on the sidebar. I believe every field that needs to be editable and displayed is set properly. The only fields not shown are default (FID, GlobalID). See the screenshot. The displayed fields are "Comment", "FirstName", and "LastName".
For debugging, I deleted the app and created a new one following the same steps that Emily Lee reported, and the "Report could not be submitted" error still showed up. I have gone through the settings of the feature layer and the app, as well as the settings of the feature layer in the webmap, and I cannot figure out which (if any) settings need to be adjusted to fix the issue. Any ideas what is going on?
Thanks - Ryan
Thank you very much for your reply Allison. I re-did everything with the following steps and it worked.
1. Add the feature service to a new webmap with full editing control.
2. Save the webmap > Share with public and the Group.
3. Go to the Group > SHARE > CREATE A WEB APP > Select Crowdsource Reporter.
Thanks again!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.