Skip to main content
Question

Esri Geodatabase Writer: Feature Type Definition ... was requested, but not defined


sparks
Contributor
Forum|alt.badge.img+5

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?

 

 

2 replies

j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • May 29, 2025

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


sparks
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • May 30, 2025

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:

$(clipped_FGDB)/BGT_HBR_@DateTimeFormat(@Value(DATE_DELIVERY),yyyymmdd).gdb

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings