Reputation: 6710
I'm trying to fetch venues for category with id=4bf58dd8d48988d1dd941735 using venues/search endpoint.
venues/search?categoryId=4bf58dd8d48988d1dd941735
After this call I get an error "Invalid categoryId 4bf58dd8d48988d1dd941735"
{
meta: {
code: 400
errorType: "param_error"
errorDetail: "Invalid categoryId 4bf58dd8d48988d1dd941735"
}
response: { }
}
Does it mean that the given category was removed from foursquare and I should remove it from my application?
Upvotes: 1
Views: 2503
Reputation: 4687
The full list of valid categories can be accessed by the venues/categories endpoint. The ID you've given does not appear in it's output, so no, that's not a valid category ID.
Upvotes: 1