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.
I am using ArcGIS Pro 3.3.1
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:
I attached my script too. Here is a screenshot of my parameters for reference:
It may be an issue with a constructed file path. Try printing out the variable “Centerpoint_shp1” before running addDataFromPath to see if it is constructed properly.