<?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: Incorrect Username or Password in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/incorrect-username-or-password/m-p/1069049#M6218</link>
    <description>&lt;P&gt;It might be the casing of your user name. It's case sensitive using the API, so you must match how it was set. In my situation, my username was set as all caps, so my script will only accept my username in that format.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 19:04:17 GMT</pubDate>
    <dc:creator>MikeMacRae</dc:creator>
    <dc:date>2021-06-16T19:04:17Z</dc:date>
    <item>
      <title>Incorrect Username or Password</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/incorrect-username-or-password/m-p/1064326#M6162</link>
      <description>&lt;P&gt;I am not sure if this is the correct place to ask this, but:&lt;/P&gt;&lt;P&gt;In the Python API Sample Notebooks (downloaded from &lt;A href="https://developers.arcgis.com/python/sample-notebooks/" target="_blank" rel="noopener"&gt;here&lt;/A&gt;), there are usernames and passwords to access sample data that doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example in the 'Managing Offline Map Areas' notebook. Found following a similar path to: &lt;STRONG&gt;YOURLOCALPATH/PythonAPI/arcgis-python-api-1.8.5/guide/10-mapping-and-visualization/managing-offline-map-areas.ipynb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are a few other notebooks as well with this issue, seems specific to the login:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;Make a GIS Connection
The cell below is a generic placeholder to illustrate connecting to your GIS through a profile holding your specific credentials. This notebook accesses data shared within a particular ArcGIS Online Organization accessible with the following credentials:

url = https://www.arcgis.com
username = arcgis_python
password = P@ssword123

So make a connection with the following syntax to continue running through the notebook: gis = GIS("https://www.arcgis.com", "arcgis_python", "P@ssword123")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am curious if anyone from ESRI could help out with this, or if anyone has also ran into this and perhaps the credentials have changed. I have ran just as it is stated above and am given this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;RuntimeError: Unable to generate token.
Invalid username or password.
(Error Code: 400)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 20:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/incorrect-username-or-password/m-p/1064326#M6162</guid>
      <dc:creator>cschooley</dc:creator>
      <dc:date>2021-06-02T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect Username or Password</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/incorrect-username-or-password/m-p/1069049#M6218</link>
      <description>&lt;P&gt;It might be the casing of your user name. It's case sensitive using the API, so you must match how it was set. In my situation, my username was set as all caps, so my script will only accept my username in that format.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/incorrect-username-or-password/m-p/1069049#M6218</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2021-06-16T19:04:17Z</dc:date>
    </item>
  </channel>
</rss>

