Video upload example script is not working (same issue with our code)

Hey @xavier.nogueira ,

Good point on the documentation this is a clear oversight.
I just used this to upload 2 videos from a GCP bucket, latest SDK version :

assets = [
      {
        "row_data": "gs://test_upload_from_lb/airport-36510.mp4",
        "global_key": "https://storage.cloud.google.com/test_upload_from_lb/airport-36510.mp4",
        "media_type": "VIDEO"
      },
      {
        "row_data": "gs://test_upload_from_lb/dubbing.mp4",
        "global_key": "https://storage.cloud.google.com/test_upload_from_lb/dubbing.mp4",
        "media_type": "VIDEO"
      }
    ]

No issues, are you still getting the global key error? What version of the SDK are you using?

1 Like