<?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: Python script error: RuntimeError: Failed to add data. Possible credentials issue. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script-error-runtimeerror-failed-to-add/m-p/1545450#M72990</link>
    <description>&lt;P&gt;It may be an issue with a constructed file path. &amp;nbsp;Try printing out the variable “Centerpoint_shp1” before running addDataFromPath to see if it is constructed properly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 00:14:12 GMT</pubDate>
    <dc:creator>BruceBacia</dc:creator>
    <dc:date>2024-10-04T00:14:12Z</dc:date>
    <item>
      <title>Python script error: RuntimeError: Failed to add data. Possible credentials issue.</title>
      <link>https://community.esri.com/t5/python-questions/python-script-error-runtimeerror-failed-to-add/m-p/1543027#M72947</link>
      <description>&lt;P&gt;I use a custom geoprocessing tool that generates two figures. I didn't create this tool, but it has worked without issue for the past two years. Now, it takes roughly 40 minutes to run before crashing (it used to take only a couple minutes to complete) and only part of the tasks are completed. I looked over the code many times and nothing looks to be incorrect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.3.1&lt;/P&gt;&lt;P&gt;I'm not getting any error codes when it crashes. It just says "RuntimeError: Failed to add data. Possible credentials issue". This is what I'm seeing:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricHughesLabella_0-1727358878781.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116007iFD6F50E83DD42F50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricHughesLabella_0-1727358878781.png" alt="EricHughesLabella_0-1727358878781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached my script too. Here is a screenshot of my parameters for reference:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricHughesLabella_1-1727359030996.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/116008i9429DECEBFB5BBE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricHughesLabella_1-1727359030996.png" alt="EricHughesLabella_1-1727359030996.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 13:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-error-runtimeerror-failed-to-add/m-p/1543027#M72947</guid>
      <dc:creator>EricHughesLabella</dc:creator>
      <dc:date>2024-09-26T13:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python script error: RuntimeError: Failed to add data. Possible credentials issue.</title>
      <link>https://community.esri.com/t5/python-questions/python-script-error-runtimeerror-failed-to-add/m-p/1545450#M72990</link>
      <description>&lt;P&gt;It may be an issue with a constructed file path. &amp;nbsp;Try printing out the variable “Centerpoint_shp1” before running addDataFromPath to see if it is constructed properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 00:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script-error-runtimeerror-failed-to-add/m-p/1545450#M72990</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2024-10-04T00:14:12Z</dc:date>
    </item>
  </channel>
</rss>

