Chris A
Posts: 0
Joined: Tue Feb 11, 2014 2:25 pm

Works when testing service - InvalidArgument when testing app

Hi,

Whenever I test this service in the editor it works fine, but when I test the app (or simply the link below) for whatever reason $distance is not recognized as a valid argument.

Query (I had to hide my KEY):
http://api.v3.factual.com/t/places-sg...

Result:
{version:3, status:error, error_type:InvalidArgument,...}
error_type: "InvalidArgument"
message: "Parameter 'sort' references unknown field $distance. Please see documentation at http://developer.factual.com"
status: "error"
version: 3

If I remove $distance (i.e. leave sort blank) it works fine.

Any ideas?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Works when testing service - InvalidArgument when testing app

Hello! Please post service settings screenshot.

Chris A
Posts: 0
Joined: Tue Feb 11, 2014 2:25 pm

Works when testing service - InvalidArgument when testing app

Never mind, found the culprit: I was malforming the coordinates.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Works when testing service - InvalidArgument when testing app

Ok, thank you for update! Glad it's working!

Return to “Issues”