<?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: Error Code 308 in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1584880#M93015</link>
    <description>&lt;P&gt;hat about&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;000308: Invalid field type ???&lt;BR /&gt;&lt;/STRONG&gt;In 3.3.2 you can't export GDB class to a .SHP, due the Object ID field, BUT, you can't delete this field?&amp;nbsp;&lt;BR /&gt;What is going on, people? Why?&lt;/H3&gt;</description>
    <pubDate>Thu, 13 Feb 2025 13:44:41 GMT</pubDate>
    <dc:creator>IvanDImitrov</dc:creator>
    <dc:date>2025-02-13T13:44:41Z</dc:date>
    <item>
      <title>Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540149#M88408</link>
      <description>&lt;P&gt;I run the Copy Features tool to get a new feature class that is added to my File Geodatabase. &amp;nbsp;This feature class is the result of a join with a Table also in the Geodatabase. &amp;nbsp;The new feature works in ArGIS Pro but not in the older ArcCatalog and ArcMap. &amp;nbsp;Then I try to export the resulting feature to another folder as a shape file and get two error codes: &amp;nbsp;308 and 210. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used this same process for years in ArcCatalog and ArcMap through 10.8 with no errors ever. &amp;nbsp;I do this process to share the resulting feature class with colleagues.&lt;/P&gt;&lt;P&gt;I'm using ArcGIS Pro 3.3&lt;/P&gt;&lt;P&gt;Error below:&lt;/P&gt;&lt;P&gt;Feature Class To Shapefile&lt;BR /&gt;=====================&lt;BR /&gt;Parameters&lt;/P&gt;&lt;P&gt;Input Features 'Z:\Lone Star\ArcPro\Lone Star ArcPro.gdb\NAD27_TX_CENTRAL\TRACTS_CopyFeatures'&lt;BR /&gt;Output Folder Z:\Lone Star\Exported Shapes&lt;BR /&gt;Updated Output Folder Z:\Lone Star\Exported Shapes&lt;BR /&gt;=====================&lt;BR /&gt;Environments&lt;/P&gt;&lt;P&gt;Maintain fully qualified field names UNQUALIFIED&lt;BR /&gt;=====================&lt;BR /&gt;Messages&lt;/P&gt;&lt;P&gt;Start Time: Wednesday, September 18, 2024 2:54:35 PM&lt;BR /&gt;Failed to convert: Z:\Lone Star\ArcPro\Lone Star ArcPro.gdb\NAD27_TX_CENTRAL\TRACTS_CopyFeatures. ERROR 000210: Cannot create output Z:\Lone Star\Exported Shapes\TRACTS_CopyFeatures.shp&lt;BR /&gt;ERROR 000308: Invalid field type&lt;BR /&gt;Failed to execute (CopyFeatures).&lt;/P&gt;&lt;P&gt;Succeeded at Wednesday, September 18, 2024 2:54:39 PM (Elapsed Time: 3.28 seconds)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 20:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540149#M88408</guid>
      <dc:creator>ScottSeay</dc:creator>
      <dc:date>2024-09-18T20:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540618#M88466</link>
      <description>&lt;P&gt;A couple things to test/consider:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; You mentioned that the FC is a result of a join.&amp;nbsp; Did you export the joined FC to a brand new FC and then try to export that new FC to a shapefile/GDB FC?&lt;BR /&gt;2.&amp;nbsp; Are there any of the new 64-bit field types in your current FC?&amp;nbsp; See the following article how to downgrade 64-bit field types to 32-bit field types.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 19:52:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540618#M88466</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2024-09-19T19:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540668#M88473</link>
      <description>&lt;P&gt;Thanks so much for the reply. &amp;nbsp;The FC was created after the join by the Copy Features tool, and placed in the same GDB. &amp;nbsp;I checked the FC properties and the ObjectID is 32-bit. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 21:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540668#M88473</guid>
      <dc:creator>ScottSeay</dc:creator>
      <dc:date>2024-09-19T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540677#M88478</link>
      <description>&lt;P&gt;Okay - thanks for the update.&amp;nbsp; Next thing to consider:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cannot use&amp;nbsp;ArcMap&amp;nbsp;to access datasets that participate in functionality that is specific to&amp;nbsp;ArcGIS Pro. For example, you cannot access branch-versioned datasets, utility networks, or datasets with attribute rules from&amp;nbsp;ArcMap.&lt;BR /&gt;&lt;BR /&gt;Does this apply to the FC in question?&amp;nbsp; Also, are you able to share the dataset with me?&amp;nbsp; If so, my email address is rleclair at esri dot com - thx!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 21:19:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540677#M88478</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2024-09-19T21:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540933#M88503</link>
      <description>&lt;P&gt;I'm only using ArcGIS Pro GDBs for this issue. &amp;nbsp;I will send you an email with the zipped GDB. &amp;nbsp;Also, I tried to replicate the issue again, and this time I received Error Code 2809. &amp;nbsp;Weird. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 14:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1540933#M88503</guid>
      <dc:creator>ScottSeay</dc:creator>
      <dc:date>2024-09-20T14:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543922#M88710</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/431622"&gt;@ScottSeay&lt;/a&gt;&amp;nbsp;- thank you for the zipped data.&amp;nbsp; I was able to find the error.&amp;nbsp; In the provided data, you had a DATE ONLY field.&amp;nbsp; This is a new geodatabase field type introduced at ArcGIS Pro 3.2.0.&amp;nbsp; It will cause the error messages you're seeing as this new field type is not supported in a shapefile format.&amp;nbsp; My workflow was to create a new DATE field, use the Calculate Field GP tool to copy attributes from the DATE ONLY field to the newly created DATE field and delete the "old" DATE ONLY field.&amp;nbsp; Then the GP tools work as expected.&lt;BR /&gt;&lt;BR /&gt;You can read more about it here -&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/whats-new-from-the-geodatabase-team-in-arcgis-pro-3-2/#New-Date-and-Time-Field-Data-Types" target="_blank"&gt;What's new from the geodatabase team in ArcGIS Pro 3.2 (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 18:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543922#M88710</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2024-09-30T18:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543946#M88711</link>
      <description>&lt;P&gt;Thanks Robert. &amp;nbsp;This worked. &amp;nbsp;Since the tabular data was added from an excel spreadsheet, then imported as a GDB table, then lastly a FC was created using Copy Features, I have no control over the DATE ONLY field creation. &amp;nbsp;Is there a way to not make that the default field type? &amp;nbsp;Otherwise, I have many steps in ArGIS Pro that were not necessary in ArcMap. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 19:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543946#M88711</guid>
      <dc:creator>ScottSeay</dc:creator>
      <dc:date>2024-09-30T19:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543972#M88712</link>
      <description>&lt;P&gt;Certainly Scott - more than happy to assist!&amp;nbsp; Since the DATE ONLY field appears to be coming from the MS Excel side of things, I wonder if you can let the editor of that worksheet to change the field type from a DATE ONLY format to a more traditional "long" date/time format that ArcGIS Pro would recognize without any issues?&amp;nbsp; Might work but would require testing.&lt;BR /&gt;&lt;BR /&gt;Related, if you feel my response was the correct answer, you can click the "Accept as Solution" button on my response to close this thread.&amp;nbsp; Let me know if you have additional questions - more than happy to assist!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 20:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1543972#M88712</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2024-09-30T20:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1584880#M93015</link>
      <description>&lt;P&gt;hat about&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;STRONG&gt;000308: Invalid field type ???&lt;BR /&gt;&lt;/STRONG&gt;In 3.3.2 you can't export GDB class to a .SHP, due the Object ID field, BUT, you can't delete this field?&amp;nbsp;&lt;BR /&gt;What is going on, people? Why?&lt;/H3&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1584880#M93015</guid>
      <dc:creator>IvanDImitrov</dc:creator>
      <dc:date>2025-02-13T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1584950#M93023</link>
      <description>&lt;P&gt;You can export a geodatabase feature class to a shapefile using the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/feature-class-to-shapefile.htm" target="_self"&gt;Feature Class to Shapefile&lt;/A&gt; GP tool.&amp;nbsp; The ObjectID field in a geodatabase feature class is an Esri created and maintained field and it cannot be deleted as you described.&amp;nbsp; When the feature class is exported to a shapefile, a comparable field is created called FID.&amp;nbsp; Again this is an Esri created and maintained field that cannot be deleted.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In some cases, you may have 64-bit field types in your geodatabase feature class.&amp;nbsp; These 64-bit field types are not supported in a 32-bit field type shapefile format.&amp;nbsp; You can read more about it here -&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/error-arcgis-pro-002809-field-name-in-location-is-of-an-000032156" target="_blank"&gt;Error: ArcGIS Pro: 002809 Field in is of an Unsupported Type for the Output Workspace&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 15:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1584950#M93023</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-02-13T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 308</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1585781#M93100</link>
      <description>&lt;P&gt;There are many steps that have to be taken now. You can export all of your feature layers that you want to save as a shapefile to a new geodatabase and loop through them using arcpy:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
# Set the workspace and paths
arcpy.env.workspace = "C:\\Users\\your_geodatabase_path_here.gdb"
fc_list = arcpy.ListFeatureClasses()

for template_fc in fc_list:
    new_fc=f'{name}_32b'
    
    # Create a new feature class based on the template
    arcpy.CreateFeatureclass_management(out_path=arcpy.env.workspace, out_name=new_fc, template=template_fc, oid_type='32_BIT')
    
    # Get the list of fields in the feature class
    fields = arcpy.ListFields(new_fc)
    
    # Iterate through the fields and change the data type for Big Integer fields
    for field in fields:
        if field.type == "BigInteger":
            arcpy.AlterField_management(new_fc, field.name, field_type="Double")
    
    
    # append features to new feature class
    arcpy.management.Append(template_fc, new_fc, schema_type='NO_TEST')
    
    # save shapefile
    output_folder="C:\\Users\\output_filepath_here"
    arcpy.conversion.FeatureClassToShapefile(new_fc, output_folder)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 06:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-308/m-p/1585781#M93100</guid>
      <dc:creator>MaeHutchison</dc:creator>
      <dc:date>2025-02-15T06:43:09Z</dc:date>
    </item>
  </channel>
</rss>

