<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Send Error Code 400 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849635#M23012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have authored a number of surveys. Both I and field workers are able to use and submit data. But one surveyor can not submit data from one of the surveys (Gemmamyces_monitoring_survey_v2), the other surveys work fine. He gets error code 400 Invalid URL whether he is trying to submit from the Outbox or immediately. The type of his connection to the internet does not matter&amp;nbsp;(cell or good WiFi). Strangely, on the Download Surveys page,&amp;nbsp;he has a down arrow instead of the circular arrow (which makes it appear that he has not downloaded the survey, although he has). The date and time listed under "Updated 4/28/16 8:14 AM" is the same as everybody else's. We tried Fix Database under Settings, but it did not resolve the issue. I really need to get that data to upload. Is there anyway to recover it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Loretta&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/250902_IMG_1364.PNG" style="width: 156px; height: 277px;" /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/250903_IMG_1365.PNG" style="width: 154px; height: 274px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 17:24:08 GMT</pubDate>
    <dc:creator>LorettaWinton1</dc:creator>
    <dc:date>2016-10-24T17:24:08Z</dc:date>
    <item>
      <title>Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849635#M23012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have authored a number of surveys. Both I and field workers are able to use and submit data. But one surveyor can not submit data from one of the surveys (Gemmamyces_monitoring_survey_v2), the other surveys work fine. He gets error code 400 Invalid URL whether he is trying to submit from the Outbox or immediately. The type of his connection to the internet does not matter&amp;nbsp;(cell or good WiFi). Strangely, on the Download Surveys page,&amp;nbsp;he has a down arrow instead of the circular arrow (which makes it appear that he has not downloaded the survey, although he has). The date and time listed under "Updated 4/28/16 8:14 AM" is the same as everybody else's. We tried Fix Database under Settings, but it did not resolve the issue. I really need to get that data to upload. Is there anyway to recover it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Loretta&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/250902_IMG_1364.PNG" style="width: 156px; height: 277px;" /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/250903_IMG_1365.PNG" style="width: 154px; height: 274px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 17:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849635#M23012</guid>
      <dc:creator>LorettaWinton1</dc:creator>
      <dc:date>2016-10-24T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849636#M23013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loretta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like the particular version the surveyor used was deleted and a new survey republished. &amp;nbsp;Assuming that the surveys are identical (the screenshot above indicates an iPhone):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Connect the device to a computer with iTunes. &amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If prompted, have the phone trust the computer so that iTunes can connect&lt;/P&gt;&lt;P&gt;3) Once the phone connects, a small phone icon will appear next to the dropdown to select Music/Videos/Apps. &amp;nbsp;Click on the phone icon to enter the phone configuration information.&lt;/P&gt;&lt;P&gt;4) At the sidebar to the left, click on 'Apps'&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/250882_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;5) You should see a display of the home screens of the phone in the main window. &amp;nbsp;Scroll to the bottom to get to the File sharing section (it's very often hidden). &amp;nbsp;Select the Survey123 application and then select the ArcGIS folder and click 'Save As' and choose a destination folder. &amp;nbsp;This shows the procedure:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6162687393001w320h240r241" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6162687393001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6162687393001w320h240r241');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6162687393001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;6) The ArcGIS folder you saved has the following subfolders:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - AppStudio&lt;/P&gt;&lt;P&gt;&amp;nbsp; - My Survey Attachments - this will be where any images have been saved and are referenced later in the data&lt;/P&gt;&lt;P&gt;&amp;nbsp; - My Surveys - this will have a folder per survey (the survey's item id), along with Maps (any offline base maps) and Data. &amp;nbsp;Data is the folder containing all survey responses. These are stored in the .sqlite file. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7) From here in terms of recovery, there are a few paths to recovering the data. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; - The easiest path is download the Survey123 application on your computer and copy the 'My Surveys' folder to overwrite the one created by the desktop application (either in /users/&amp;lt;username&amp;gt;/ArcGIS on a Mac/Linux or c:\users\&amp;lt;username&amp;gt;\ArcGIS on Windows) and then attempt to submit or re-download the form and submit. &amp;nbsp;Given you're description above, I don't expect it to work- it looks like the survey forms have different IDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp; - This database can be opened in ArcGIS Desktop, but the data is encoded differently than how ArcGIS Desktop would expect it. &amp;nbsp;I've worked on a script that exports these as a cvs file (attached); there are a few issues with non-ASCII characters (Python 3 would be preferred to avoid that). &amp;nbsp;Then the data can be combined with the other survey information, either through tools like ArcGIS Desktop or by downloading the CSV of the other surveys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849636#M23013</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-10-24T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849637#M23014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I tried all of that and got the .sqlite file. Now I am stuck at the Python part. I don't know anything about running Python scripts but found somebody who does. We noticed that the IN_DB and OUT_DIR pointed to your machine and so changed that to my machine. After running the script we got the following errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime error &lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 52, in &amp;lt;module&amp;gt;&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 19, in readS123db&lt;BR /&gt;TypeError: list indices must be integers, not str&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be at all possible for me to send you the sqlite file and you send me the csv file? I really don't know what I am doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a bunch,&lt;/P&gt;&lt;P&gt;Lori&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 23:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849637#M23014</guid>
      <dc:creator>LorettaWinton1</dc:creator>
      <dc:date>2016-11-08T23:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849638#M23015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello? Anybody? I sure would like to retrieve that data!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:15:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849638#M23015</guid>
      <dc:creator>LorettaWinton1</dc:creator>
      <dc:date>2016-11-16T00:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849639#M23016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Loretta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a little hard to debug with just the error you provided; given the line number, it's the statement:&lt;/P&gt;&lt;P&gt;outRow = jRow["attributes"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's the case, it sounds like the the previous line has not created an object from the data part of the row stored as a string. &amp;nbsp;Line 19 should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jRow = json.loads(json.loads(row[1]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might try wrapping another json.loads() around. &amp;nbsp;One way to find if you're on the right track is to do a&lt;/P&gt;&lt;P&gt;print jRow statement and observe what it looks like &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are examples of what the print statement returns as the program&amp;nbsp;converts the data into into an object; it needs to look like the last one :&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;row[1]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;"{\"attributes\":{\"note1\":\"6\",\"stationid\":\"31003\",\"numbikes\":\"6\",\"bikesreported\":5,\"numbroken\":3},\"geometry\":{\"spatialReference\":{\"wkid\":4326},\"x\":-77.049593,\"y\":38.86017,\"z\":null}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;json.loads(row[1]):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;{"attributes":{"note1":"6","stationid":"31003","numbikes":"6","bikesreported":5,"numbroken":3},"geometry":{"spatialReference":{"wkid":4326},"x":-77.049593,"y":38.86017,"z":null}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;json.loads(json.loads(row[1])):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;SPAN&gt;{u'geometry': {u'y': 38.86017, u'x': -77.049593, u'z': None, u'spatialReference': {u'wkid': 4326}}, u'attributes': {u'note1': u'6', u'stationid': u'31003', u'numbroken': 3, u'bikesreported': 5, u'numbikes': u'6'}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you further assistance debugging, I'd suggest opening a technical support case- it would be a bit easier than to debug remotely via GeoNet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 00:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849639#M23016</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-11-16T00:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849640#M23017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also having this same issue, but only on iPads. I have republished the survey, downloaded the updated survey, began a new survey and still get the error.&lt;/P&gt;&lt;P&gt;The odd thing is if I do this same routine using Survey123 for Windows, I get no error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 18:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849640#M23017</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2016-12-09T18:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849641#M23018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To diagnose, can you try logging into your organization on the iPads and attempt to add the feature service of the survey to a map? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 22:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849641#M23018</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-12-09T22:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849642#M23019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Collector app that I am using the custom attribute to link to the Survey and pull over fields. The feature service, created from the survey, is in the Collector map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:15:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849642#M23019</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2016-12-12T14:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849643#M23020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The survey that has the Error 400 had to be republished, but I renamed it the same as the old. Could this be causing confusion on the iPad App that does not allow users to send, but only me (admin) when I am logged in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 16:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849643#M23020</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2017-03-01T16:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849644#M23021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From your description, I'm&amp;nbsp;a little unclear- are we talking about users attempting to submit data on an iPad unsuccessfully and then you are able to submit data when you are logged in on the same iPad? &amp;nbsp;If so, it sounds like a sharing issue. &amp;nbsp;The republishing might have caused that; you may want to double-check the sharing settings of the Feature Layer and Form from the ArcGIS Online 'My Content' interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:23:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849644#M23021</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-03-01T18:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849645#M23022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shared to the group.&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/332339_Capture.JPG" style="width: 620px; height: 139px;" /&gt;&lt;/P&gt;&lt;P&gt;I am going to publish the same survey, under a different name and see if the issue can be replicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:25:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849645#M23022</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2017-03-01T18:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849646#M23023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a new survey, different name, same xls form. User was able to send the survey no problem. So it is a republishing issue where the Suvery123 App is confused by the url and looking for the old form, feature layer (of the same name) as the newer published form.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 18:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849646#M23023</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2017-03-01T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send Error Code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849647#M23024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;Yes I am able to send the survey's without getting Error 400 when I(admin) am signed in. The issue has to be the survey I deleted, copied the XLS form, and created a new survey (in Connect) using the same XLS scheme with the same name. I tested this theory and it conclude that has got to be the issue. Now, I am looking for guidance from y'all on how to move the data from the existing form and feature layer to a new survey (with the same exact XLS scheme.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 20:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/send-error-code-400/m-p/849647#M23024</guid>
      <dc:creator>CarlHolt1</dc:creator>
      <dc:date>2017-03-01T20:17:03Z</dc:date>
    </item>
  </channel>
</rss>

