Select to view content in your preferred language

XML Import Failing : 160320: The subtype code does not exist.

830
3
12-11-2023 10:28 AM
Labels (3)
JacquelineAlessi
Frequent Contributor

Hi I am trying to import a FGDB Schema from XML, the XML export of the schema worked fine. However upon import I get the following error: 160320: The subtype code does not exist (Name) 

There is no subtype by the Name listed in the error in the FGDB, there is a FC by that name. How do I determine the root cause and resolve it? There are no resources available online for this error code. 

0 Kudos
3 Replies
MarceloMarques
Esri Regular Contributor

You can try to import one featureclass at a time till you discover which featureclass is causing the issue, then you can dig more into the domains of that featureclass to find out what the problem might be.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
0 Kudos
JacquelineAlessi
Frequent Contributor

Thanks Marcelo, we are in the process of doing that now, but we have 15k classes in this DB. OOF. 

 

0 Kudos
MarceloMarques
Esri Regular Contributor

160320: The subtype code does not exist (Name) 

You could try to write a SQL query to access the geodatabase domains information of your ArcSDE Geodatabase to try to identify the featureclass(es) and domain(s) causing the issue.

Example: Resolving domain codes to description values using SQL—ArcMap | Documentation (arcgis.com)
Example: Discovering domain usage using SQL—ArcMap | Documentation (arcgis.com)

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |