<?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: Error Code 400 when querying Inbox in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/777032#M5274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll answer this myself &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;Changed CURRENT_TIMESTAMP to CURRENT_DATE and it worked. Can I assume it must be something to do with the data store functions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 05:34:20 GMT</pubDate>
    <dc:creator>ChrisRoberts2</dc:creator>
    <dc:date>2019-01-07T05:34:20Z</dc:date>
    <item>
      <title>Error Code 400 when querying Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/777031#M5273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Survey123 Form from a hosted feature&amp;nbsp;layer on our 10.6.1 Enterprise Portal.&amp;nbsp; I want to create a Inbox Filter to only show the last 3 years worth of records based on assessment_date (ASSESSMENT_DATE BETWEEN CURRENT_TIMESTAMP -1095 AND CURRENT_TIMESTAMP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I run this from Survey123 I get a Code 400 Unable to complete operation error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I look a the logs in the server, I see the following errors:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class="" dir="ltr" lang="en-au" style="margin-top: 1em; margin-bottom: 3em;"&gt;&lt;DIV align="left" class="" dir="ltr" lang="en-au"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 653px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" style="width: 646px;"&gt;Result limit: 50 reached; ignoring any remaining objects in the query result for Layer: FuelHazard.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class="" dir="ltr" lang="en-au" style="margin-top: 1em; margin-bottom: 3em;"&gt;&lt;DIV align="left" class="" dir="ltr" lang="en-au"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=""&gt;Error: Function or procedure does not exist [db_zwh9g.hsu_xrdhm.FuelHazard].&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Is that related?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally in our old 10.3 Portal environment, I had published a service to the Portal where the layer was in our SDE and we edited and queried directly from our enterprise geodatabase, this same filter worked perfectly.&amp;nbsp; Our new 10.6 environment has been built in the Cloud and we are now unable to edit directly to our internal databases, hence the need to now use a hosted feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 05:04:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/777031#M5273</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2019-01-07T05:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 400 when querying Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/777032#M5274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll answer this myself &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;Changed CURRENT_TIMESTAMP to CURRENT_DATE and it worked. Can I assume it must be something to do with the data store functions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 05:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/777032#M5274</guid>
      <dc:creator>ChrisRoberts2</dc:creator>
      <dc:date>2019-01-07T05:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 400 when querying Inbox</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/1513638#M58263</link>
      <description>&lt;P&gt;I'll post this here since I spent 1 or 2 hours trying to figure out this 400 issue on the Inbox: for me it was the fact that I had hidden an image question. The inbox was trying to query something that was not collected.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 17:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/error-code-400-when-querying-inbox/m-p/1513638#M58263</guid>
      <dc:creator>NourSalamJMT</dc:creator>
      <dc:date>2024-08-01T17:41:24Z</dc:date>
    </item>
  </channel>
</rss>

