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

421
3
12-11-2023 10:28 AM
Labels (3)
JacquelineAlessi
Occasional Contributor II

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 | Principal Product Engineer | Esri |
| Cloud & Database Administrator | OCP - Oracle Certified Professional |
I work with Enterprise Geodatabases since 1997.
“ I do not fear computers. I fear the lack of them." Isaac Isimov
0 Kudos
JacquelineAlessi
Occasional Contributor II

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 | Principal Product Engineer | Esri |
| Cloud & Database Administrator | OCP - Oracle Certified Professional |
I work with Enterprise Geodatabases since 1997.
“ I do not fear computers. I fear the lack of them." Isaac Isimov