You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some issues querying the Geo API and am wondering if someone can provide me an example or let me know what I am doing incorrectly. I would like to query articles originating from a specific distance from lat/long location OR query a bounding box.
{
"status": "ERROR",
"copyright": "Copyright (c) 2015 The New York Times Company. All Rights Reserved.",
"errors": ["global name \u0027lat\u0027 is not defined"],
"results": []
}
If I use the API Builder, I get the following, regardless of whether I provide a filter.
{
"status": "ERROR",
"copyright": "Copyright (c) 2015 The New York Times Company. All Rights Reserved.",
"errors": [
"Specify at least one filter"
],
"results": []
}
Thanks for any help you can provide!
The text was updated successfully, but these errors were encountered:
I am also getting similar error when using same API.
{
"status": "ERROR",
"copyright": "Copyright (c) 2015 The New York Times Company. All Rights Reserved.",
"errors": ["global name \u0027lat\u0027 is not defined"],
"results": []
}
I'm having some issues querying the Geo API and am wondering if someone can provide me an example or let me know what I am doing incorrectly. I would like to query articles originating from a specific distance from lat/long location OR query a bounding box.
If I enter the query URI in the browser bar, as such: http://api.nytimes.com/svc/semantic/v2/geocodes/query.json?nearby=38.920833,-94.622222&api-key=MY_KEY, I get:
{
"status": "ERROR",
"copyright": "Copyright (c) 2015 The New York Times Company. All Rights Reserved.",
"errors": ["global name \u0027lat\u0027 is not defined"],
"results": []
}
If I use the API Builder, I get the following, regardless of whether I provide a filter.
{
"status": "ERROR",
"copyright": "Copyright (c) 2015 The New York Times Company. All Rights Reserved.",
"errors": [
"Specify at least one filter"
],
"results": []
}
Thanks for any help you can provide!
The text was updated successfully, but these errors were encountered: