Unexpected 400 errors using venues/search and the browse intent

263 views
Skip to first unread message

Νικόλας Τουμπέλης

unread,
Oct 30, 2011, 11:42:19 AM10/30/11
to foursqu...@googlegroups.com
Hi, 

I've been using the new venue browse intent functionality quite extensively using both the sw/ne and the radius approaches. I've been getting several unexpected 400 errors, that my geographic area is too big, e.g.:

PATH: venues/search
PARAMETERS: {
    intent = browse;
    ll = "40.659221,22.947004";
    "oauth_token" = xxxxxxx;
    radius = 421;
    v = 20111030;
}
META:{
    code = 400;
    errorDetail = "Your geographic boundary is too big. Please search a smaller area.";
    errorType = "param_error";
}

I might make, say, five of these calls in nearby areas, and get one error in between.

Thanks,

--
Nick Toumpelis
iOS Software Engineer
Thessaloniki, Greece
twitter: nicktoumpelis

Akshay Patil

unread,
Oct 31, 2011, 5:56:34 PM10/31/11
to foursqu...@googlegroups.com
Is it consistently with radius, or with both approaches? Can you post the full URL of your request (oauth_token hidden)?

~ak
--
Akshay Patil / Foursquare Platform Evangelist
@akdotcom / @foursquareapi


2011/10/30 Νικόλας Τουμπέλης <nickto...@gmail.com>

Νικόλας Τουμπέλης

unread,
Oct 31, 2011, 6:52:22 PM10/31/11
to foursqu...@googlegroups.com

Νικόλας Τουμπέλης

unread,
Nov 2, 2011, 7:25:44 PM11/2/11
to foursqu...@googlegroups.com
Hi Akshay,

I'm still seeing this happen. Am I doing something wrong?

Thank you,

Nick

On 31 Οκτ 2011, at 11:56 μ.μ., Akshay Patil wrote:

Akshay Patil

unread,
Nov 2, 2011, 7:31:47 PM11/2/11
to foursqu...@googlegroups.com
Hi Νικόλας,

We had an issue where venues were indexed without their parent categories. 
We're currently backfilling the index with this information -- it should be 
completed over the next day or two. Sorry about this! 

~ak
--
Akshay Patil / Foursquare Platform Evangelist
@akdotcom / @foursquareapi


2011/11/2 Νικόλας Τουμπέλης <nickto...@gmail.com>

Νικόλας Τουμπέλης

unread,
Nov 2, 2011, 7:35:12 PM11/2/11
to foursqu...@googlegroups.com
Thanks!

Engin Kurutepe

unread,
Nov 13, 2011, 11:27:06 AM11/13/11
to foursqu...@googlegroups.com
Hi Akshay,

I keep encountering these errors as well. I only tried it with the range parameter around 1000m to do a local search around our users. It usually works but when it fails it fails on retries as well and also with different queries. 

One example query is:

I am doing something wrong? 

Cheers,
E.

Akshay Patil

unread,
Nov 14, 2011, 4:25:09 PM11/14/11
to foursqu...@googlegroups.com
Can you e-mail a...@foursquare.com with more details? Namely: specific queries and the venues that should be returned but aren't?


~ak
--
Akshay Patil / Foursquare Platform Evangelist
@akdotcom / @foursquareapi


Engin Kurutepe

unread,
Nov 14, 2011, 4:34:41 PM11/14/11
to foursqu...@googlegroups.com
Hi Akshay,

It seems to be working for now. I'll contact api@foursquare directly if it starts happening again.

Thanks for the tip.

Cheers,
Engin.

Fehmi Can Saglam

unread,
Nov 15, 2011, 9:46:51 AM11/15/11
to foursqu...@googlegroups.com
Hi Akshay,

I am facing the same problem with this query:


The query works most of the time but it sometimes fail and return "Your geographic boundary is too big. Please search a smaller area."

What else information do you need?

Akshay Patil

unread,
Nov 15, 2011, 8:00:22 PM11/15/11
to foursqu...@googlegroups.com
Thanks for the reports -- we're investigating this bug and think we've (hopefully) found the culprit issue.


~ak
--
Akshay Patil / Foursquare Platform Evangelist
@akdotcom / @foursquareapi


--

Akshay Patil

unread,
Nov 15, 2011, 8:37:38 PM11/15/11
to foursqu...@googlegroups.com
This issue should now be fixed


~ak
--
Akshay Patil / Foursquare Platform Evangelist
@akdotcom / @foursquareapi


Engin Kurutepe

unread,
Nov 16, 2011, 1:46:37 PM11/16/11
to foursqu...@googlegroups.com
Hi Akshay,

It seems to be working great. Thanks a lot!

Cheers,
E.
Reply all
Reply to author
Forward
0 new messages