Ask a Question

Ask a Question
Back to All

How to upload a video via Python SDK upload_video_to_project() function?

I have created a new project and wanted to upload the first video to it. I don't use any cloud storage integration, so I simply want to upload the video via the Python SDK. So after installing it via pip and and setting the SDK auth token I called the function like so:

import superannotate as sa
sa.upload_video_to_project(project="test", video_path="/path/to/video-01.mp4")

However, that leads to the following error:

AppException: The function does not support projects containing videos attached with URLs

But this is a completely new and empty project, not attached videos with URLs.
What am I doing wrong here?