Open cboudreaux opened 1 year ago
same i got it as well
it turns oout google dont support id in the fields which is included by the library by default. Current workaround is to copy the component from node module and remove the id from this line
const BASIC_DATA_FIELDS = ["address_components", "adr_address", "alt_id", "formatted_address", "geometry", "icon", "name", "business_status", "photo", "place_id", "scope", "type", "url", "utc_offset_minutes", "vicinity"];
@AsuraKev Thank you!
Last night we started receiving this error message from Google, then it stopped after a few hours, and then started happening again this evening:
/**/xdc._59ytoe && xdc._59ytoe( { "error_message" : "Error while parsing 'fields' parameter: Unsupported field name 'id'. ", "html_attributions" : [], "status" : "INVALID_REQUEST" } )
https://maps.googleapis.com/maps/api/place/js/PlaceService.GetPlaceDetails?2sen-US&10e3&14m1&1sChIJ5RMSqLYwW4YRYfY5q9XXt8U&15sDB6CFA28-6A81-4EA6-BCEB-14A464CEBFDF35e40m4ssbpg&16m1&1saddress_components%2Cadr_address%2Calt_id%2Cformatted_address%2Cgeometry%2Cicon%2Cid%2Cname%2Cbusiness_status%2Cphoto%2Cplace_id%2Cscope%2Ctype%2Curl%2Cutc_offset%2Cvicinity&17m1&2e1&callback=_xdc_._59ytoe&key=&token=35321
Is anyone else experiencing this? Is there something we need to change?