Following the provenance article, specifically the part on creating a shared activity / provenance, both and I received the following error when setting shared provenance using the example python script: “synapseclient.exceptions.SynapseHTTPError: 412 Client Error: Node: 10172943 was updated since you last fetched it, retrieve it again and reapply the update”. We did find a workaround by refetching the activity each time a new store (or setProvenance) occurs. Attached is a script that will set the provenance with that technique. I’m filing this as a bug because provenance cannot be updated on a group of files as the article is written.
Mac OS 10.14.6
Python 3.7 virtual environment containing: