Hello, we’re using batch video endpoint with Mega plan. In the endpoint we saw that we should be able to request up to 1000 videos by Id. But the request GET doesn’t allow to use more than arround 8000 characters else it returns an error URI too Long . Means, we can fetch only 674 video Ids .
Do you have solution ? Or maybe another endpoint batch with POST method instead of GET ?
Thanks,
Join in the discussion - add comment below:
Thank you, we will test with POST and probably merge into it
Hello, thank you for contacting us. We tested
/batch/videos
with 1k video IDs and it processed successfully. Try reducing the list of IDs to 1k before requesting them. We also added the ability to request batches using the ‘POST’ method, using ‘id’ from the request’s body.Currently, we have a hard limit of 16 KB for URIs, so for 1k videos everything will work fine, but for channel IDs, it’s better to use ‘POST’ or limit to 500 items if you use ‘GET’ method.