<?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: ArcGIS Server REST API, error codes documentation? in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269943#M1345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeez, found them. WHY does it always take ten (Google) searches to find stuff like this?&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-service-output.htm#ESRI_SECTION2_8CBF0ACE9919482384ED1EF4D4E1441D" title="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-service-output.htm#ESRI_SECTION2_8CBF0ACE9919482384ED1EF4D4E1441D"&gt;Service output—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2018 18:10:56 GMT</pubDate>
    <dc:creator>MikeDolbow</dc:creator>
    <dc:date>2018-02-16T18:10:56Z</dc:date>
    <item>
      <title>ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269938#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know it there is &lt;STRONG&gt;documentation of error codes in ArcGIS Server API REST&lt;/STRONG&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i am looking for :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;JSON structure&lt;/STRONG&gt; of result in cas of error&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;List&lt;/STRONG&gt; of error codes&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;I try to find it in online documentation (&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/rest/apiref/" title="http://resources.arcgis.com/en/help/rest/apiref/"&gt;ArcGIS Server REST API&lt;/A&gt;)... but without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flavie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 06:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269938#M1340</guid>
      <dc:creator>FlavieMORAUX1</dc:creator>
      <dc:date>2017-07-01T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269939#M1341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flavie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of ArcGIS Server are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile you may refer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/administer/windows/log-codes-overview.htm" title="http://server.arcgis.com/en/server/latest/administer/windows/log-codes-overview.htm"&gt;Log codes overview—ArcGIS Server Administration (Windows) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/administer/windows/core-server-log-codes.htm" title="http://server.arcgis.com/en/server/latest/administer/windows/core-server-log-codes.htm"&gt;Core server log codes—ArcGIS Server Administration (Windows) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="http://server.arcgis.com/en/server/latest/administer/windows/work-with-server-logs.htm" title="http://server.arcgis.com/en/server/latest/administer/windows/work-with-server-logs.htm"&gt;Work with server logs—ArcGIS Server Administration (Windows) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 15:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269939#M1341</guid>
      <dc:creator>shan_sarkar</dc:creator>
      <dc:date>2017-07-01T15:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269940#M1342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than you for all informations, it will be useful to me!&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I use ArcGIS Server 10.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I found JSON structure by testing a case in error&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;{&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;"&lt;STRONG&gt;error&lt;/STRONG&gt;": {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;&amp;nbsp; "&lt;STRONG&gt;code&lt;/STRONG&gt;": 500,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;&amp;nbsp; "&lt;STRONG&gt;message&lt;/STRONG&gt;": "DIRECTORY/SERVICE/MapServer not found ",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;&amp;nbsp; "&lt;STRONG&gt;details&lt;/STRONG&gt;": []&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: black; font-size: 10.0pt;"&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Flavie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269940#M1342</guid>
      <dc:creator>FlavieMORAUX1</dc:creator>
      <dc:date>2017-07-20T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269941#M1343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just stumbled across this post because I have the same question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The links that&amp;nbsp;Shan sent refer to server codes as seen in the log, not codes as returned by the ArcGIS REST API when making HTTP requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen in Flavie's example above, 500 is often returned when something's really wrong, like you used the wrong map service URL for a query or there's an internal server error. From memory, I seem to recall that you get a 498 error when a server is using the legacy "tokens" authentication method and the token is invalid. I've seen 499 errors too, but I don't recall&amp;nbsp;what problem a 499 describes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anecdotally, I have noticed that the error series follows HTTP error code series (4XX errors are a problem with the client's request, and 5XX errors are a problem&amp;nbsp;on the server). But that doesn't really help when you're trying to understand the range of possible codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A list of possible ArcGIS REST API codes (along with their meaning)&amp;nbsp;would be quite helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 17:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269941#M1343</guid>
      <dc:creator>JeffBurgess</dc:creator>
      <dc:date>2017-11-09T17:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269942#M1344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, none of the docs above are what I'm looking for, either. It's pretty easy to force a bad token so I know at least one error code out of the REST API:&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="color: #333333; background: white;"&gt;{"error":{"code":498,"message":"Invalid Token","details":[]}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;/P&gt;&lt;P style="text-indent: .5in;"&gt;&lt;SPAN style="color: #333333; background: white;"&gt;but...seriously, there's no others? Pretty sure a timeout can happen too. Gotta be a list somewhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 18:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269942#M1344</guid>
      <dc:creator>MikeDolbow</dc:creator>
      <dc:date>2018-02-16T18:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269943#M1345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeez, found them. WHY does it always take ten (Google) searches to find stuff like this?&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-service-output.htm#ESRI_SECTION2_8CBF0ACE9919482384ED1EF4D4E1441D" title="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-service-output.htm#ESRI_SECTION2_8CBF0ACE9919482384ED1EF4D4E1441D"&gt;Service output—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2018 18:10:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/269943#M1345</guid>
      <dc:creator>MikeDolbow</dc:creator>
      <dc:date>2018-02-16T18:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST API, error codes documentation?</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/1229229#M4317</link>
      <description>&lt;P&gt;This listing has a few more: &lt;A href="https://developers.arcgis.com/net/reference/platform-error-codes/#http-network-and-rest-errors" target="_blank"&gt;https://developers.arcgis.com/net/reference/platform-error-codes/#http-network-and-rest-errors&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 16:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/arcgis-server-rest-api-error-codes-documentation/m-p/1229229#M4317</guid>
      <dc:creator>philnagel</dc:creator>
      <dc:date>2022-11-07T16:41:12Z</dc:date>
    </item>
  </channel>
</rss>

