Esri Geodatabase Writer: Feature Type Definition ... was requested, but not defined
In the stand-alone FME Form my FME script works well. However, using the same script in ArcGIS Pro faced error saying
Esri Geodatabase Writer: Feature Type Definition … was requested, but not defined. A possible reason is that you may not have permission to create the Geodatabase. The error number from ArcObjects is: '-2147467259'. The error message from ArcObjects is: {}
FeatureWriter or classical Writer, there is no difference. With other FME scripts (created by others) a fgdb can be created. Why not the mine?
Page 1 / 1
A screen grab of your workspace leading into the Writer would be helpful here, along with the parameters of the writer. In any case, the dataset you are writing out (as file geoDB?) path might not be valid.
Another cause is a lock on the table... the database reports it but something like ArcGIS has a lock on the table that you are attempting to update and the error is returned. So close ArcPro map views or attribute tables displaying contents of the geodatabase
-2147467259 This is a generic error code for when an error occurred.Error occurs because you do not have administrator/absolute permission to the output
I'm sorry for not posting the screen grab of my workspace. Here it is:
And here are the parameters of the FeatureWriter:
And here is the parameter of clipped_FGDB:
All the parameters work well during running the workbench itself, but not during running the script within ArcGIS Pro. As far as I can see, there is no lock, I also closed the attribute table and map view. The error kept on appearing.
ADDED INFORMATION:
Maybe it is due to the date format in the filename of fgdb? When running in the workbench itself, the filename appeared nicely as BGT_HBR_yyyymmdd.gdb, for example BGT_HBR_20250508.gdb. However, in ArcGIS Pro I see
BGT_HBR_2025-05-08 00:00:00.gdb
Maybe this is not allowed, resulting in the error? In an attept to correct this, in the dataset of the FeatureWriter I tried with:
However, after running within workbench it resulted literally in “BGT_HBR_yyyymmdd.gdb”, without date.
How can I force the date in the desired date format? I'm sorry, I'm new to FME, still learning many new cases!
@sparks did you find the reason behind the “Esri Geodatabase Writer: Feature Type Definition 'xxx' was requested, but not defined.”? I am getting this error message in in my FeatureWriter and I am struggling to know the reason beind it.
thanks for screen grab. I may need one of the FeatureReader
Don’t pass the schema port through all the transformers. Schema port goes into the FeatureWriter
@sparks did you find the reason behind the “Esri Geodatabase Writer: Feature Type Definition 'xxx' was requested, but not defined.”? I am getting this error message in in my FeatureWriter and I am struggling to know the reason beind it.
Hi @ammar.shaarbaf , I remember that putting the path to the desired place for a gdb file (in the field Dataset of the FeatureWriter Parameters) between quotation marks “...” did the trick.