We are getting this |ERROR |ArcGIS Online Feature Service Writer: Encountered an unexpected error. The error code from the server was '504' and the message was: 'Your request has timed out.
The scheduled benches run most of the time, but occasionally they fail with this error. We have tried reducing the number of items sent from 1000 to 200, but still get this error when truncating and updating data to AGOL sometimes... The size of the data being updated remains the same and the update works most of the time.