YouTube

FREEMIUM
Door Dataverse | Bijgewerkt לפני 8 ימים | Data
Populariteit

9.6 / 10

Latency

136ms

Serviceniveau

100%

Health Check

100%

Terug naar alle discussies

Bug on Batch video endpoint

Rapid account: Ainarabearimalaza
ainarabearimalaza
לפני חודשיים

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,

Rapid account: Ainarabearimalaza
ainarabearimalaza Commented לפני חודשיים

Thank you, we will test with POST and probably merge into it

Rapid account: Bokolesnik
bokolesnik Commented לפני חודשיים

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.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen