We have an asset object that has a child asset attached to it. We have a Process Flow that updates the AccountID and State of the child asset if the parent asset is changed (so the parent and child asset always have the same AcocuntID and State).
I'm truing to use simplesalesforce api to update the parent Asset AccountID and State using
sf.Asset.update(AssetId, { 'AccountId': AccountId, 'State': 'Shipped' })
This always fails with:
[{'message': 'The record couldn’t be saved because it failed to trigger a flow. Contact your administrator for help.', 'errorCode': 'CANNOT_EXECUTE_FLOW_TRIGGER', 'fields': []}]
If I disable the process flow it works.