kanstantsin.nalobin Posted February 13, 2023 Report Share Posted February 13, 2023 I'm trying to add a new version of the shot and i'm using the documentation: https://ftrack-python-api.rtd.ftrack.com/en/stable/example/publishing.html Do I understand correctly that in those documents is stated that one should create an asset and after that add a new version? Because by doing so I've got a duplication error in case the asset is already created. Is there a way to add version to existing asset without creating a new one via API? I'm quite new to this so maybe I've just got something wrong. Link to comment Share on other sites More sharing options...
Patrick Boucher ftrack Posted February 15, 2023 Report Share Posted February 15, 2023 Hi Kanstantsin, If you get a duplicate record error, you have created another asset with the same name connected to the same parent. If you intend to create a new version of the same asset, you should instead load the existing asset and attach your new version to that. I'm attaching a Jupyter notebook that hopefully explains how to do that. Regards, Patrick forum_2205.ipynb Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now