412 error when attempting shared provenance

Description

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.

Environment

Mac OS 10.14.6

Python 3.7 virtual environment containing:

Assignee

Ryan Luce

Reporter

Tess Thyer

Labels

Validator

None

Development Area

None

Release Version History

None

Components

Affects versions

Priority

Major
Configure