node-googlemaps icon indicating copy to clipboard operation
node-googlemaps copied to clipboard

Getting error `Component filter type components=country is not supported.`

Open glesage opened this issue 7 years ago • 0 comments

Hi,

We've been using this module for a few years now and never had any issues. However few weeks ago we started seeing this error a lot when calling the geocode api Component filter type components=country is not supported.

Our requests parameters look like:

var params = {
    "address": "1 North Main Street,  New York NY 11367",
    "components": "components=country:us",
    "language": "en",
    "region":"us"
};

Any thoughts? Thanks!

glesage avatar Jan 16 '19 19:01 glesage