<?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 I publish a feature with a Definition query in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1010345#M35112</link>
    <description>&lt;P&gt;Well, thanks for the response.&lt;/P&gt;&lt;P&gt;I was able to publish the FL to Portal with the definition query, but ran into other (separate) issues with that.&lt;/P&gt;&lt;P&gt;Eventually I settled on only publishing the related table to AGO (as a web feature) so I could create a Survey123 form against that.&lt;/P&gt;&lt;P&gt;May still have to resort to a separate feature class as you describe ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 21:15:16 GMT</pubDate>
    <dc:creator>wilcow</dc:creator>
    <dc:date>2020-12-16T21:15:16Z</dc:date>
    <item>
      <title>Error code 400 when I publish a feature with a Definition query</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1009476#M35014</link>
      <description>&lt;P&gt;I have a feature class in Enterprise GIS that has a related table (simple relationship, 1:M).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a definition query on the features based on a field in the related table:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FacilityID_INT IN (SELECT FID_INT FROM SS_Spills WHERE Spill_Overflow IS NOT NULL)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and when I attempt to publish to AGO, it fails with this error in the log: &lt;FONT face="courier new,courier"&gt;"StatusMessage: Server Response: ERROR: code:400, Invalid URL, Invalid URL, Bad syntax in request."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I remove the DQ, the feature publishes fine.&lt;/P&gt;&lt;P&gt;I would simply filter the feature layer on AGO after I publish but there's no way that I can see to use subsets or SQL in AGO&lt;/P&gt;&lt;P&gt;Any thoughts on what could be fouled up in that definition query?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 21:32:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1009476#M35014</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2020-12-14T21:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error code 400 when I publish a feature with a Definition query</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1010341#M35111</link>
      <description>&lt;P&gt;This is a known issue.&amp;nbsp; One workaround is to export the feature class out to a new feature class based upon the DQ and publish the new layer to ArcGIS Online.&amp;nbsp; Then you don't have to worry about an ArcGIS Online filter for subsets.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1010341#M35111</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-12-16T21:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error code 400 when I publish a feature with a Definition query</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1010345#M35112</link>
      <description>&lt;P&gt;Well, thanks for the response.&lt;/P&gt;&lt;P&gt;I was able to publish the FL to Portal with the definition query, but ran into other (separate) issues with that.&lt;/P&gt;&lt;P&gt;Eventually I settled on only publishing the related table to AGO (as a web feature) so I could create a Survey123 form against that.&lt;/P&gt;&lt;P&gt;May still have to resort to a separate feature class as you describe ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 21:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-400-when-i-publish-a-feature-with-a/m-p/1010345#M35112</guid>
      <dc:creator>wilcow</dc:creator>
      <dc:date>2020-12-16T21:15:16Z</dc:date>
    </item>
  </channel>
</rss>

