<?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: Why am I getting a 000210 &amp;quot;Cannot create output&amp;quot; error? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140323#M26161</link>
    <description>&lt;P&gt;Thanks Dan, I did look up the 000210 documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is not locked.&lt;/P&gt;&lt;P&gt;The path is not incorrect.&lt;/P&gt;&lt;P&gt;The access is not limited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can verify this by running other operations besides Project() and outputting it to the project geodatabase.&lt;/P&gt;&lt;P&gt;This feels like it's a bug.&amp;nbsp; I'll work through my customer account rep to get it submitted.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 15:12:29 GMT</pubDate>
    <dc:creator>EricEagle</dc:creator>
    <dc:date>2022-02-03T15:12:29Z</dc:date>
    <item>
      <title>Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140159#M26157</link>
      <description>&lt;P&gt;When I do this in python:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;p = arcpy.mp.ArcGISProject("CURRENT")
arcpy.env.workspace = p.defaultGeodatabase
d = p.defaultGeodatabase
arcpy.env.overwriteOutput = True

# abbreviating here - "inlyr" is a layer that has been gotten in a GetParameter() call

original_name = inlyr.name
utm_out_name = (original_name + '_UTM').replace(".","_")
utm_out = os.path.join(d, utm_out_name)

out_layer = arcpy.management.Project(inlyr, utm_out, arcpy.SpatialReference(32638))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this gives me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Traceback (most recent call last):
  File "M:\Temp\arcstuff\utm.py", line 246, in &amp;lt;module&amp;gt;
    out_layer = arcpy.management.Project(inlyr, out_layer, arcpy.SpatialReference(32638))
  File "C:\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 13216, in Project
    raise e
  File "C:\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 13213, in Project
    retval = convertArcObjectToPythonObject(gp.Project_management(*gp_fixargs((in_dataset, out_dataset, out_coor_system, transform_method, in_coor_system, preserve_shape, max_deviation, vertical), True)))
  File "C:\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 000210: Cannot create output M:\Temp\ArcGIS\Projects\MyProject\MyProject.gdb\osm_roads_UTM
Failed to execute (Project).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run Project() on the data directly, using the same exact parameters (not scripted), it also fails!&lt;/P&gt;&lt;P&gt;However, when I redirect the output to a shapefile in another directory (same NAS), it succeeds.&lt;/P&gt;&lt;P&gt;Why is this?&amp;nbsp; How do I get more specific information to figure out why it is refusing to write to the default project geodatabase?&lt;/P&gt;&lt;P&gt;I am able to create feature classes in the same .gdb (including via python) in the same session, so there is no permissions or lock issue that would seem to be at fault.&lt;/P&gt;&lt;P&gt;Version: ArcGIS Pro 2.9&lt;/P&gt;&lt;P&gt;UPDATE: the input layer is from a GeoPackage.&amp;nbsp; Not sure why that should matter, as it's an open/broadly compatible format.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 03:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140159#M26157</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2022-02-03T03:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140170#M26159</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00201-00225-000210.htm" target="_blank"&gt;000210: Cannot create output &amp;lt;value&amp;gt;.—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The most common reasons are listed below&lt;/P&gt;&lt;P&gt;The output cannot be created. Potential reasons include data locking, an incorrect path, and limited access rights.&lt;/P&gt;&lt;P&gt;Solution&lt;BR /&gt;Confirm that the data is not locked by another user or application and that you have full rights to the workspace being used. Check to make sure that the path to the data is correct (check for typos in the folder path). Try creating the output in a new location.&lt;/P&gt;&lt;P&gt;Which would explain why you could create a shapefile.&amp;nbsp; It could for sure be a permissions thing or the fact that the file was in use by the geopackage&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 04:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140170#M26159</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-03T04:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140323#M26161</link>
      <description>&lt;P&gt;Thanks Dan, I did look up the 000210 documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is not locked.&lt;/P&gt;&lt;P&gt;The path is not incorrect.&lt;/P&gt;&lt;P&gt;The access is not limited.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can verify this by running other operations besides Project() and outputting it to the project geodatabase.&lt;/P&gt;&lt;P&gt;This feels like it's a bug.&amp;nbsp; I'll work through my customer account rep to get it submitted.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140323#M26161</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2022-02-03T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140365#M26162</link>
      <description>&lt;P&gt;good idea Eric... post here if you get a resolution&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 16:24:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1140365#M26162</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-03T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1153180#M26230</link>
      <description>&lt;P&gt;Hey Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was a solution ever reached on this? I have had a co-worker experience similar issues during a similar workflow, but only intermittently (running a Project() on multiple features to the same output location and having some complete before getting this error).&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2022 21:09:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1153180#M26230</guid>
      <dc:creator>mattkramer</dc:creator>
      <dc:date>2022-03-12T21:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1154419#M26235</link>
      <description>&lt;P&gt;Matt, it turns out it's because it's a GeoPackage layer.&amp;nbsp; Apparently Project wants a feature class not a GPKG layer.&amp;nbsp; Hopefully this changes at some point since GPKG is becoming a very widely used format, but at least that's the answer as of today.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 17:56:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1154419#M26235</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2022-03-16T17:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting a 000210 "Cannot create output" error?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1154420#M26236</link>
      <description>&lt;P&gt;From what I have been able to discern, Project() does not take GPKG layers as input.&amp;nbsp; Hopefully this changes in the future but at least as of early 2022 that's the situation.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 17:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/why-am-i-getting-a-000210-quot-cannot-create/m-p/1154420#M26236</guid>
      <dc:creator>EricEagle</dc:creator>
      <dc:date>2022-03-16T17:56:50Z</dc:date>
    </item>
  </channel>
</rss>

