Question

Why are Portal Feature Service Writers returning ESRI 400 errors when run via FME Server, but not when run manually?

  • 17 March 2023
  • 2 replies
  • 13 views

We have a pair of nightly maintenance workbenches that clean up feature class attributes via Portal connections. When I manually trigger these workbenches to run, they complete without fail. However, about 80% of the time that they run overnight via FME Server, they fail with the following error:

 

ArcGIS Portal Feature Service Writer: Error code 400 Message - 'Unable to complete operation' Details: This operation is not allowed while editing [AutomatedProcess_DONOTDELETE]

 

These Workbenches are trying to Update, No Truncate first. Is this a branch versioning issue?

 

I have done some digging but haven't found anything specific to this particular error other than the ESRI help page saying that "It is rare and causes are unknown."

 

Any insight is greatly appreciated.

 

Screenshot of error message following failed server runScreenshot of error messages following failed server run 


2 replies

Badge +5

Hello @matt.franklin​ ,

 

Could you please check if the feature service is set to Async or Sync? https://developers.arcgis.com/rest/services-reference/enterprise/sync-enabled-feature-services.htm

If that does not resolve the issue, could you please create a case with the job log? When you send the job log, it would be helpful to increase the logging level for jobs on FME Server. You can change the DEBUG_LEVEL to SUPER_VERBOSE in the message.properties files to capture more information in the logs. 

It is set to Async. Does that need to be changed?

Capture_PortalSettings

Reply