Skip to main content

I have a workspace in FME Workbench 2022.2 that reads an ESRI ArcGIS Server Feature Service containing 7 layers. It successfully reads all 7 layers and transforms them to the appropriate feature types. 

 

That same workspace in FME Form 2023.1.1.1 is able to read in the number of features for all 7 layers but only able to successfully read in the features for 3 of the 7 layers. On the 4 layers that fail it appears to be failing after the first batch of 1000 records are requested. As a test I created a new project with only the FeatureServer reader in FME Form 2023.1.1.1, again same problem. As another test I tried using the MapServer endpoint for the service rather than the FeatureServer endpoint that failed on the 4 layers. This successfully read in all 7 layers.

ArcGIS Feature Service Reader: Got 4222 results for layer/table ID 0
ArcGIS Feature Service Reader: Splitting reading of 4222 features into 5 batches of up to 1000 features
ArcGIS Feature Service Reader: Getting feature results 0 up to 1000 of layer/table 'NetD Enclosures'
ArcGIS Feature Service Reader: Encountered an unexpected error. The error code from the server was '400' and the message was: 'Unable to complete operation.'. Details: ''
An error has occurred. Check the logfile above for details

Has anyone else seen this? Thanks.

 

 

 

 

 

Is this an ArcGIS Server you manage? It would be worth having a look at the Server Logs to see if anything is failing on the ArcGIS side


Is this an ArcGIS Server you manage? It would be worth having a look at the Server Logs to see if anything is failing on the ArcGIS side

It is an external server, of which I did not have access to the logs.


I just went back into Flow this afternoon and was able to get this to work by doing the following on the layers that could not be read.

 

On the ArcGIS Feature Server reader I changed the Attributes to Read option from Exposed Attributes to All Attributes on the User Attributes tab of the reader Feature Type Properties. I think Exposed Attributes is the default. Not sure why some of the readers can remain with the setting Exposed Attributes and others have to be switched to All Attributes.

 

image


Reply