Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filename is set to "Unknown file name" when using v.upload() #174

Open
gringopachingo opened this issue Aug 26, 2021 · 0 comments
Open

Filename is set to "Unknown file name" when using v.upload() #174

gringopachingo opened this issue Aug 26, 2021 · 0 comments

Comments

@gringopachingo
Copy link

gringopachingo commented Aug 26, 2021

When looking at the uploaded versions via the API or website, the filename is "Unknown file name", while the description and name are set correctly. I have tried the following both with and without 'file_name'.

video = v.upload(
    "video_upload.mp4", 
    data={
        'name': "New Title of Video", 
        'description': "This is the description", 
        'file_name': "video_upload.mp4"
    }
)

For a couple of months, I was able to PATCH an updated version filename, but that does not appear to work anymore.

v.patch(
    '/videos/{video_id}/versions/{version_id}, 
    data={
        'file_name': "video_upload.mp4",
    }
)

I can set the file_name for subsequent versions, just not the original upload. Is this a limit of the API or the library (or my understanding of either)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant