Open cruonline opened 3 years ago
If one of the entities in the collection contains null, geocode API responds with 400 error.
"Invalid request. Missing the 'address', 'components', 'latlng' or 'place_id' parameter"
Seems, plugin tries to process this response and logs multiple errors.
GmapGeocode > Failed to add node: Duplicate key for property id: #### Missing typeName for reference in field: geocode
Maybe checking the source field before sending a request would be a better approach? Also, some error handling for geocode API wouldn't hurt ;-)
If one of the entities in the collection contains null, geocode API responds with 400 error.
"Invalid request. Missing the 'address', 'components', 'latlng' or 'place_id' parameter"
Seems, plugin tries to process this response and logs multiple errors.
GmapGeocode > Failed to add node: Duplicate key for property id: #### Missing typeName for reference in field: geocode
Maybe checking the source field before sending a request would be a better approach? Also, some error handling for geocode API wouldn't hurt ;-)