<?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 Query Secured FeatureServer Layer returns &amp;amp;quot;Invalid URL&amp;amp;quot; in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-secured-featureserver-layer-returns-amp-quot/m-p/250917#M1205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a web application using the Javascript API that sends a call to the REST API for a secured FeatureServer layer. The URL of the call is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;https://cvag01.mojavedata.gov/ArcGIS/rest/services/admin/Ownership_Editor/FeatureServer/query?f=json&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;geometry=%7B%22x%22%3A-12937603.591094663%2C%22y%22%3A3996743.738186366%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%7D%7D&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=102100&amp;amp;outFields=APN%2COWNER%2CCONS_STATUS%2CPOST_MOU%2CACQ_DATE%2CCREDIT_STATE%2CCREDIT_PERMITTEE%2CCREDIT_COMP&amp;amp;outSR=102100&amp;amp;token=&amp;lt;&amp;lt;token removed&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The response from the server is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Invalid URL"]}}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've played around with removing different parameters from the URL and this error only occurs with the token parameter specified. I've checked the Verbose server logs in ArcGIS Server Manager, but I see no errors there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 20:50:38 GMT</pubDate>
    <dc:creator>deleted-user-1T_bOHag6M8d</dc:creator>
    <dc:date>2012-08-01T20:50:38Z</dc:date>
    <item>
      <title>Query Secured FeatureServer Layer returns &amp;quot;Invalid URL&amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-secured-featureserver-layer-returns-amp-quot/m-p/250917#M1205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a web application using the Javascript API that sends a call to the REST API for a secured FeatureServer layer. The URL of the call is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;https://cvag01.mojavedata.gov/ArcGIS/rest/services/admin/Ownership_Editor/FeatureServer/query?f=json&amp;amp;returnGeometry=true&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;geometry=%7B%22x%22%3A-12937603.591094663%2C%22y%22%3A3996743.738186366%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%7D%7D&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=102100&amp;amp;outFields=APN%2COWNER%2CCONS_STATUS%2CPOST_MOU%2CACQ_DATE%2CCREDIT_STATE%2CCREDIT_PERMITTEE%2CCREDIT_COMP&amp;amp;outSR=102100&amp;amp;token=&amp;lt;&amp;lt;token removed&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The response from the server is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Invalid URL"]}}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've played around with removing different parameters from the URL and this error only occurs with the token parameter specified. I've checked the Verbose server logs in ArcGIS Server Manager, but I see no errors there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 20:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/query-secured-featureserver-layer-returns-amp-quot/m-p/250917#M1205</guid>
      <dc:creator>deleted-user-1T_bOHag6M8d</dc:creator>
      <dc:date>2012-08-01T20:50:38Z</dc:date>
    </item>
  </channel>
</rss>

