For some addresses, google maps static api returns a 200 response, but image shows up blank with a yellow ribbon at the top right with this error message: "Maps error: g.co/staticmaperror":
Here is an example URL.
ChromeDevTools Response Headers has this:
X-Staticmap-Api-Warning: Error geocoding: center, marker 1
Their error message page has this description:
An error occurred while attempting to geocode the request. There are many variants of this message, depending on the element where geocoding failed (center, marker, visible, or path) and the number of elements that failed. One example of this warning is X-Staticmap-API-Warning:Error geocoding: marker 1, as shown in the above example.
But it doesn't explain how to fix this issue. Has anyone resolved this?
As commented by Professor Abronsius, providing a descriptive address helps fix this.