Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

92
Views
Google Maps nearby search returning Invalid_Request

I am trying to connect to google maps using the following url and code to fetch nearby places, but I am getting invalid request. What seems to be the issue here?

let url = 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=...&location=49.1804488%2C-122.7851227'
let results = await axios.get(url)
console.log(results.data)
console.log(results.status)
console.log(results.error_message)
console.log(results.info_messages)
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The documentation says that only location is required. That seems to be wrong, adding radius to the query returns a result.

This works:

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=49.1804488%2C-122.7851227&radius=1500&key=API_KEY

This doesn't work (returns "status" : "INVALID_REQUEST"):

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=49.1804488%2C-122.7851227&key=API_KEY

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!