Hi all,
I'm running into an issue when trying to INSERT & TRUNCATE an existing ArcGIS Portal feature layer via an FME writer. The error message I am receiving can be seen below:
ArcGIS Portal Feature Service Writer: Encountered an unexpected error. The error code from the server was '500' and the message was: 'Cannot perform operation. Invalid operation parameters.'. Details: ''
I've read through a couple of older posts about this issue and followed the suggested fixes, but these don't seem to help in my case - fixes include checking there isn't a mismatch in schemas, and reducing the 'Feature Per Request' in the writer settings.
To see if there was an issue with updating more complex feature layers, I have tested with a simple feature layer and still having the same error message. This polygon feature layer (3x rows, 1x string field) was published from ArcGIS Pro to Portal and can be read into FME with no issue, but the same error occurs when trying to write out.
The writer begins processing and is able to successfully TRUNCATE, before stopping and displaying the error above when it tries to INSERT (leaving the layer empty on Portal). As the writer has no issue truncating the existing layer, this tells me there is no issue with the connection to the ArcGIS Portal layer.
Out of curiosity I also tried the same with a point feature layer, and had no issues.
Is anyone else running into this issue? Any help would be much appreciated!