Search code examples
foursquare

/venues/suggestcompletion endpoint returns empty array


We've been using the /venues/suggestcompletion endpoint for a while for our autocompletion feature for a while now.

It started returning empty arrays for all our queries recently.

Here is a sample set of GET parameters:

{ limit = 20; ll = "52.485799,13.437771"; query = ostba; }

resulting in this URL:

https://api.foursquare.com/v2/venues/suggestcompletion?client_id=OUR_CLIENT_ID&client_secret=OUR_CLIENT_SECRET&v=20120801&query=ostba&ll=52.485799,13.437771

and corresponding output:

meta = { code = 200; }; response = { minivenues = ( ); };

I know /venues/suggestcompletion is meant as experimental but I couldn't find a notice of an API change. This is breaking the venue search functionality for our app in production. We'd appreciate any pointers.

Thanks a lot…


Solution

  • This was a temporary bug that was introduced yesterday. We believe we've fixed the problem -- sorry for that!