<?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 addDataFromPath credential error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1381270#M69853</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to add a feature layer in a geodatabase on a network share to a map.&lt;/P&gt;&lt;P&gt;Using the following tool works without issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JillianStanford_0-1707769062494.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94528iC229C8E2CE86B64D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JillianStanford_0-1707769062494.png" alt="JillianStanford_0-1707769062494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The layer is added to the current map.&lt;/P&gt;&lt;P&gt;If I attempt to do this using Python, I get the following error about credentials.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JillianStanford_1-1707769125595.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94529i08811459ED539D7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="JillianStanford_1-1707769125595.png" alt="JillianStanford_1-1707769125595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to resolve this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 20:21:54 GMT</pubDate>
    <dc:creator>JillianStanford</dc:creator>
    <dc:date>2024-02-12T20:21:54Z</dc:date>
    <item>
      <title>addDataFromPath credential error</title>
      <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1381270#M69853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to add a feature layer in a geodatabase on a network share to a map.&lt;/P&gt;&lt;P&gt;Using the following tool works without issue:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JillianStanford_0-1707769062494.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94528iC229C8E2CE86B64D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JillianStanford_0-1707769062494.png" alt="JillianStanford_0-1707769062494.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The layer is added to the current map.&lt;/P&gt;&lt;P&gt;If I attempt to do this using Python, I get the following error about credentials.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JillianStanford_1-1707769125595.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94529i08811459ED539D7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="JillianStanford_1-1707769125595.png" alt="JillianStanford_1-1707769125595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to resolve this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 20:21:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1381270#M69853</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2024-02-12T20:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: addDataFromPath credential error</title>
      <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1381676#M69857</link>
      <description>&lt;P&gt;I get different error, but what about declaring the path as a raw string?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;newLayer = m.addDataFromPath(r'\\dotims4\maps\accela_update\accell_data.gdb\parcelPoint')&lt;/LI-CODE&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1381676#M69857</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2024-02-13T16:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: addDataFromPath credential error</title>
      <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1506729#M71087</link>
      <description>&lt;P&gt;you cannot use relative paths, it is considered a security issue (it seems)&lt;BR /&gt;Put the full path to your .gdb or your .sde file&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 16:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1506729#M71087</guid>
      <dc:creator>FredericPoliart_EsriAU</dc:creator>
      <dc:date>2024-07-18T16:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: addDataFromPath credential error</title>
      <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1511744#M71152</link>
      <description>&lt;P&gt;The relative path worked fine once I declared it as a raw string.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 16:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1511744#M71152</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2024-07-29T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: addDataFromPath credential error</title>
      <link>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1526414#M71303</link>
      <description>&lt;P&gt;Fun fact: I received this error when the layer file (.lyrx) I wanted to load didn't exist.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 13:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/adddatafrompath-credential-error/m-p/1526414#M71303</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2024-08-23T13:55:32Z</dc:date>
    </item>
  </channel>
</rss>

