Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a table in a feature dataset and get the error: Parameters are not valid. The code works when I write only to the gdb. Am I not allowed to write to a feature dataset or am I doing something wrong?

import arcpy
import datetime

now =
exoticPlant = "Kudzu"
outPath = r"V:\chat_gis\gis_projects\Vegetation_Managment\Data\Derived_Data\Derived_Data.gdb\Report_01_14_2013"
exoticReportTemplate = "\MASTER_Data\VegetationManagment_Chatt.gdb\Exotic_Report_Template"
exoticReportName = exoticPlant + "_UnitCoverage_5years_" + now.strftime("%m%d%Y")

arcpy.CreateTable_management(outPath, exoticReportName, exoticReportTemplate)
share|improve this question
up vote 7 down vote accepted

In geodatabases, tables cannot be stored in a feature dataset. They can only be stored at the geodatabase level. Feature datasets are limited to feature classes and other advanced dataset types like topology, etc.

Check out the ArcGIS help regarding Feature Datasets:

share|improve this answer

I've had a lot of trouble getting arcpy to save tables due to character restrictions I can never seem to get my head around.

The validateTableName function has been very useful. Give it a look and try adding it into the code to verify that your table names are valid, that has helped me in the past.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.