Hi there
I’m trying to use the API to add an asset to another and make a version stack or add an asset if the version stack exists. I get a 422 error both when I use the python bindings or directly with requests, I get the result below. I have added some data of both source and destination. What am I doing wrong?
Thanks!
API url:
https://api.frame.io/v2/assets/b9cc9315-833e-49b7-8b4b-21d332f6946b/version
API payload:
next_asset_id: 87a9462a-5f6d-4210-b352-9ab8326d01b6
API response:
code: 422
errors: [{‘code’: 422, ‘detail’: ‘The supplied parameters were malformed’, ‘status’: 422, ‘title’: ‘Invalid Argument’}]
message: Invalid Argument
Destination asset:
upload_completed_at: 2022-05-03T20:27:55.817730Z
frames: 463
id: b9cc9315-833e-49b7-8b4b-21d332f6946b
duration: 18.547
project_id: 24f84b0f-888a-4632-986f-493479fa0c5e
name: Frame io test e01 destination
audio_tracks: None
includes: [‘video’, ‘audio’]
parent_id: fec8632b-1a3d-44fd-ad77-ee6af77b2b5d
type: file
filetype: video/quicktime
asset_type: stream
fps: 25.0
_type: file
New source:
upload_completed_at: None
frames: 0
id: 87a9462a-5f6d-4210-b352-9ab8326d01b6
duration: None
project_id: 24f84b0f-888a-4632-986f-493479fa0c5e
name: Frame io test e01 new source
audio_tracks: None
includes: None
parent_id: 1525726c-075b-4576-a1f8-23d297da7f94
type: file
filetype: video/quicktime
asset_type: None
fps: None
_type: file