Error fetching video by location on Youtube Api V3
I would like to know what the Url Error is:
Whenever I put the latitude and longitude of the place I want gives error in the request:
500 Internal Server Error
{
"error": {
"code": 500,
"message": null
}
}
2
1 answers
Add a radius of action, otherwise I think that it only looks for the exact coordinate. Here, your same query with locationRadius
from 5km
:
According to the documentation (my emphasis):
O
locationRadius
, together with the parameterlocation
, define the geographical area. If the coordinates associated with the video fall within this area, then the video can be included in the search results.
3
Author: brasofilo, 2014-10-20 20:24:32