I am trying to build a workflow that automatically translates YouTube captions to another language. Thanks to this post, I found a way to download the caption.
Thanks a lot.
I investigated using Form-Data, and indeed, I can provide the binary and some metadata, but I cannot manage to make it work.
If I chose the form-data, no matter how I format the input, it is not accepted and I receive the error that βthe request contains invalid metadata values, which prevent the track from being created.β
This is tricky, the Youtube API is not well documented, and I found no body on the internet who tried to upload captions programmatically using regular HTTP requests.
I found a bunch of video where they are using the YT PHP api for instance, but this is not what I want, my goal would be to have this working in a n8n workflow, without the need to deploy an external function.
If someone, more expert than me in managing the HTTP node, could check, I would highly appreciate ! I think that a workflow that could help with uploading YT captions could bring a lot of value.
I am following up on this because the challenge I face is not directly related to n8n, but more about how to set up the HTTP request with both the file and metadata.