<?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: new problem REST query 10.1 - every other request fails (400 unable to complete oper) in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143583#M5642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on 10.2.2 all updates and patches applied and JS API 3.10 and I still have the issue. even sequencing the queries will not work, nor does the "dirty" query technique. I have not been able to make JS API to use POST yet (not sure if I can) and I am on enterprise geodatabase (postgres). Two queries back to back or simultaneous, the first one always successful, the second one fails. Reordering them guarantees that there is no issue with the query itself. Extremely frustrating...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 04:44:16 GMT</pubDate>
    <dc:creator>BillyYancey</dc:creator>
    <dc:date>2014-08-12T04:44:16Z</dc:date>
    <item>
      <title>new problem REST query 10.1 - every other request fails (400 unable to complete oper)</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143562#M5621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are upgrading to ArcGIS Server 10.1 SP1 from 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have noticed a new problem where REST layer queries are failing every other request. It is quite strange, but you can reproduce it by simply reissuing requests in browser or Fiddler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example request (can use &amp;amp;f=html also, same result).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://serverx/arcgis/rest/services/foldery/servicez/MapServer/0/query?where=%28%28KeyInstn+in+%28103036%29%29%29&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;outFields=&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;geometryPrecision=&amp;amp;outSR=102100&amp;amp;returnIdsOnly=false&amp;amp;returnCountOnly=false&amp;amp;orderByFields=&amp;amp;groupByFieldsForStatistics=&amp;amp;outStatistics=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;gdbVersion=&amp;amp;returnDistinctValues=false&amp;amp;f=json" rel="nofollow" target="_blank"&gt;http://serverx/arcgis/rest/services/foldery/servicez/MapServer/0/query?where=%28%28KeyInstn+in+%28103036%29%29%29&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;outFields=&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;geometryPrecision=&amp;amp;outSR=102100&amp;amp;returnIdsOnly=false&amp;amp;returnCountOnly=false&amp;amp;orderByFields=&amp;amp;groupByFieldsForStatistics=&amp;amp;outStatistics=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;gdbVersion=&amp;amp;returnDistinctValues=false&amp;amp;f=json&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Every other request fails with this result (json):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":[]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clue:I started looking this while tracking down possible change to how ESRI is treating OutputFields in 10.1 compared to 10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody else seeing this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any recommendations on where to check next to narrow this one down?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 14:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143562#M5621</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2012-12-13T14:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143563#M5622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a known issues with 10.1 SP1, and has been logged as the following bug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ NIM086349 - Alternate Query (Get) requests fail in Version 10.1 SP1 ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know when this is scheduled to be fixed, but if you contact Support you can be attached to the bug. You can also check the status here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDg2MzQ5" rel="nofollow" target="_blank"&gt;http://support.esri.com/en/bugs/nimbus/role/beta10_1/TklNMDg2MzQ5&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 19:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143563#M5622</guid>
      <dc:creator>StevenMoore1</dc:creator>
      <dc:date>2012-12-13T19:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143564#M5623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply and the link. This nimbus link worked better for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDg2MzQ5"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDg2MzQ5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will be contacting support and requesting a fix (hopefully soon!) for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of any workarounds aside from issuing the request again if it fails the first time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 12:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143564#M5623</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2012-12-14T12:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143565#M5624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The workarounds are&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can do request in POST&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dirty the query&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

var dirty = (new Date()).getTime();
var query = new esri.tasks.Query();
query.where = "MyField= " + MyValue+ " AND " + dirty + "=" + dirty; 
...

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143565#M5624</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2021-12-11T07:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143566#M5625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Domenico,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the ideas, very helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have implemented your 'dirty' suggestion, and it appears to be working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For anyone using the ESRI Silverlight API, you can set FeatureLayer.DisableClientCaching = true. This will add a unique time stamp parameter to the underlying REST request.... I found however that QueryTask does not behave this way. Thererfore, in this case, I followed the advice of generating a random time stamp and adding it to the Where.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143566#M5625</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2012-12-18T17:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143567#M5626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This problem occurs only when the data of the MapService is FileGDB based or data is not copied to the server while publishing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can workaround this using either of these&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Choose copy data to the Server while publishing the service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Change to Enterprise GDB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Change the service configuration to set "hasStaticData": "true", if your service data doesn�??t change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://hostname:6080/arcgis/admin/se...MapServer/edit"&gt;http://hostname:6080/arcgis/admin/se...MapServer/edit&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 18:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143567#M5626</guid>
      <dc:creator>JoseThomas</dc:creator>
      <dc:date>2013-01-11T18:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143568#M5627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you know if using map services using layers in&amp;nbsp; SQL Express DB with SDE for Workgroup will work?&amp;nbsp; I am trying to avoid using our current SQL Server 2005 (yes, we are stuck with this for now) for these particular map services.&amp;nbsp; We were going to try to use a file gdb that is updated weekly through python.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Carmen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143568#M5627</guid>
      <dc:creator>CarmenDurham</dc:creator>
      <dc:date>2013-04-01T19:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143569#M5628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting note from josethom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The REST mapservices that I am using sit on top of both SQL Server 2008 and.... file geodatabases. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not investigate whether we were seeing this problem with just the file geodatabase-based services, but this could be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, thanks for the reply, and I hope this additional note helps someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143569#M5628</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2013-04-01T19:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143570#M5629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has this been resolved yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is clearly a massive bug that you can't use FGDB based services IF you want to perform queries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 09:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143570#M5629</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2013-06-03T09:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143571#M5630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This issue have been resolved in 10.2, for those at 10.1 using the Flex API, you can use the hack listed here &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/index.html#//017p00000016000000"&gt;http://help.arcgis.com/en/webapi/flex/help/index.html#//017p00000016000000&lt;/A&gt;&lt;SPAN&gt; by which you can set the token paramenter to anything in order to force a POST request.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 02:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143571#M5630</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2013-08-02T02:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143572#M5631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This issue pops up when you add a feature layer to a map too (using JSAPI at least).&amp;nbsp; In that case, how would I add a time stamp to alter the query string ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, TG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 16:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143572#M5631</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2013-08-29T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143573#M5632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Terry&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this property (or something similar) exist on the java script FeatureLayer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer.DisableClientCaching = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This was one solution to this problem in the Silverlight world. Works for us here anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After setting this property, we checked Fiddler and found that the esri framework was adding a timestamp to the 'query' request underlying the client-side FeatureLayer. This makes each the request unique and works around the issue being discussed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Cory&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 18:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143573#M5632</guid>
      <dc:creator>deleted-user-Ohz6rwd1kavx</dc:creator>
      <dc:date>2013-08-29T18:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143574#M5633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cory,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the idea but there's no equivalent to disableClientCaching in the JS API. I've used that in the SL api in the past to make sure data from a feature layer based on a&amp;nbsp; query layer (pulling lat/longs from SQL server) would refresh after the underlying DB was updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TG&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 19:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143574#M5633</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2013-08-29T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143575#M5634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pathetic! not upgrading to 10.2 to fix this....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143575#M5634</guid>
      <dc:creator>BenSainsbury1</dc:creator>
      <dc:date>2013-09-18T19:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143576#M5635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any updates to this thread? It is driving me crazy how can one simply upgrade from 10.0 to 10.1 an just because of that all hell breaks loose. I am using a file GDB and Flex API and the apps are throwing errors left and right&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 00:46:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143576#M5635</guid>
      <dc:creator>raffia</dc:creator>
      <dc:date>2013-12-05T00:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143577#M5636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Cory,&lt;BR /&gt;&lt;BR /&gt;Thanks for the idea but there's no equivalent to disableClientCaching in the JS API. I've used that in the SL api in the past to make sure data from a feature layer based on a&amp;nbsp; query layer (pulling lat/longs from SQL server) would refresh after the underlying DB was updated.&lt;BR /&gt;&lt;BR /&gt;TG&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry, did you ever get anything for this in the JS API? Or did you force it to use a POST, if so how did you go about doing that? I as well can't upgrade to 10.2 for this..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143577#M5636</guid>
      <dc:creator>LukeBehling</dc:creator>
      <dc:date>2014-01-31T19:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143578#M5637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Luke,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I moved the data for that service from a file geoDB into SDE and it seemed to solve the problem.&amp;nbsp; But I found out the other day that our SDE license expired so I had to switch back to the file geoDB and every other request failure.&amp;nbsp; Haven't moved to 10.2 yet so cannot say for sure that'll fix it.&amp;nbsp; I'm lucky though as the service is just for an internal demonstration site.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143578#M5637</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2014-01-31T19:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143579#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked - I moved the table back into SDE and now I do not get the error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 11:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143579#M5638</guid>
      <dc:creator>LukeBehling</dc:creator>
      <dc:date>2014-02-05T11:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143580#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri released a Quality Improvement Patch for 10.1 SP1 (desktop, engine, &amp;amp; server) at the end of January 2014.&amp;nbsp; You can find it in the Support -&amp;gt; Patches and Service Packs pages &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/downloads/patches-servicepacks/view/productid/67/metaid/2064"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; In the 15 pages of issued addressed is NIM086349 which SKMoore identified above as the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps, seems to have fixed the issue on my server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 20:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143580#M5639</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2014-02-10T20:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: new problem REST query 10.1 - every other request fails (400 unable to complete o</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143581#M5640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The workarounds are&lt;BR /&gt;&lt;BR /&gt;you can do request in POST&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;dirty the query&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

var dirty = (new Date()).getTime();
var query = new esri.tasks.Query();
query.where = "MyField= " + MyValue+ " AND " + dirty + "=" + dirty; 
...

&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this how I would accomplish this in C#?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var dirty = DateTime.UtcNow;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Query query = new Query();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.ReturnGeometry = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.OutFields.Add("*");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.Where = QueryParametersTextbox.Text + " AND " + dirty + "=" + dirty;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:53:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/new-problem-rest-query-10-1-every-other-request/m-p/143581#M5640</guid>
      <dc:creator>JessicaLott</dc:creator>
      <dc:date>2021-12-11T07:53:18Z</dc:date>
    </item>
  </channel>
</rss>

