<?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 Re: Integromat and Survey123 HTML POST error code 400 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855740#M24717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I started to think that maybe the hosted layer settings where causing issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I checked the survey123 URL that Integromat was using and it was pointing to the '_fieldworker' layer, with these &amp;nbsp;settings:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="survey123_fieldworker_hostedlayerSettings" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/489255_survey123_fieldworker_hostedLayer_settings.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I switched the URL to the base survey123 hosted layer. But, I still get the same errors with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;&amp;nbsp;- "Invalid object passed in, ':' or '}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Any help or feedback would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Nik&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2020 03:44:07 GMT</pubDate>
    <dc:creator>NikHenry1</dc:creator>
    <dc:date>2020-04-20T03:44:07Z</dc:date>
    <item>
      <title>Integromat and Survey123 HTML POST error code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855737#M24714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been following the configuration detailed here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/groups/survey123/blog/2019/06/04/survey123-tricks-of-the-trade-integromat"&gt;https://community.esri.com/groups/survey123/blog/2019/06/04/survey123-tricks-of-the-trade-integromat&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to update feature attributes using these parameters:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Key =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;f&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Value =&lt;/SPAN&gt;&lt;SPAN class=""&gt;json&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Key =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;features&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Value =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;{"attributes" : { "ObjectId" :&lt;SPAN class="" data-original-title="" style="color: #ffffff; background-color: #2f8cbb; margin: 0px 2px; padding: 0px 6px;" title=""&gt;1. result: objectId&lt;/SPAN&gt;, "globalid" :&lt;SPAN class="" data-original-title="" style="color: #ffffff; background-color: #2f8cbb; margin: 0px 2px; padding: 0px 6px;" title=""&gt;1. result: globalId&lt;/SPAN&gt;, "justificationDetail" : "Very high growth rate for the species, restricting the ability to achieve clearance." }}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Key =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;token&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Value=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" data-original-title="" style="color: #ffffff; background-color: #2f8cbb; margin: 0px 2px; padding: 0px 6px;" title=""&gt;1. Token&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="integromatHTML_paramaters_001" class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/487878_Screen Shot 2020-04-08 at 11.04.58 pm.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get this message:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Data : "error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'features' parameter is invalid","Invalid object passed in, ':' or '}' expected. (90): {\"attributes\" : { \"ObjectId\" :1496, \"globalid\" :{78127F82-5DF1-4596-89B4-F607E7CCF14E}, \"justificationDetail\" : \"Very high growth rate for the species, restricting the ability to achieve clearance.\" }}"]}}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="IntegromatHTTP_outputmessage_08042020" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/487877_Screen Shot 2020-04-08 at 10.39.22 pm.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 13:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855737#M24714</guid>
      <dc:creator>NikHenry1</dc:creator>
      <dc:date>2020-04-08T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Integromat and Survey123 HTML POST error code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855738#M24715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would encourage you to use&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-layer-.htm" title="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-layer-.htm"&gt;Apply Edits (Feature Service/Layer)—ArcGIS REST API: Services Directory | ArcGIS for Developers&lt;/A&gt;, which is a more robust editing resource. &amp;nbsp;Note that the in the &lt;A href="https://developers.arcgis.com/rest/services-reference/update-features.htm"&gt;UpdateFeatures resource&lt;/A&gt;, the features parameter is expecting an Array - even if you are only updating 1 feature, you need to provide an array [ ] object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 17:59:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855738#M24715</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-04-14T17:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Integromat and Survey123 HTML POST error code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855739#M24716</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;Thanks for that feedback, but I still get the same type of error with ApplyEdits.&lt;/P&gt;&lt;P&gt;This was my configuration:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Integromat_Survey123_ApplyEdits_Config" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/488671_Itegromat_Survey123_ApplyEditsFeatureService_001.png" /&gt;&lt;/P&gt;&lt;P&gt;This was the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;{"error":{"code":400,"message":"Cannot perform operation. Invalid operation parameters.","details":["'updates' parameter is invalid","Invalid object passed in, ':' or '}' expected. (90): {\"attributes\" : { \"ObjectId\" :1499, \"globalid\" :{8AE51921-D053-440C-8533-949A2B778DA5}, \"managedCost\" : 116.36 }}"]}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;I'll keep investigating, thanks for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Nik&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 23:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855739#M24716</guid>
      <dc:creator>NikHenry1</dc:creator>
      <dc:date>2020-04-14T23:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Integromat and Survey123 HTML POST error code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855740#M24717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I started to think that maybe the hosted layer settings where causing issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I checked the survey123 URL that Integromat was using and it was pointing to the '_fieldworker' layer, with these &amp;nbsp;settings:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="survey123_fieldworker_hostedlayerSettings" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/489255_survey123_fieldworker_hostedLayer_settings.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I switched the URL to the base survey123 hosted layer. But, I still get the same errors with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;&amp;nbsp;- "Invalid object passed in, ':' or '}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Any help or feedback would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #f8f8f8;"&gt;Nik&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 03:44:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/855740#M24717</guid>
      <dc:creator>NikHenry1</dc:creator>
      <dc:date>2020-04-20T03:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Integromat and Survey123 HTML POST error code 400</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/1156360#M41473</link>
      <description>&lt;P&gt;Hi Nik,&lt;/P&gt;&lt;P&gt;We're going through this same process and have followed the article on incorporating integromat as you did. Just curious if you were ever able to find a resolution to this error or came up with a different workaround?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/integromat-and-survey123-html-post-error-code-400/m-p/1156360#M41473</guid>
      <dc:creator>dsletten</dc:creator>
      <dc:date>2022-03-22T19:21:14Z</dc:date>
    </item>
  </channel>
</rss>

