AdobeXD-maps icon indicating copy to clipboard operation
AdobeXD-maps copied to clipboard

Error - Request had an error: ${req.status}

Open mikec-design opened this issue 5 years ago • 2 comments

I keep receiving the above error no matter what options I select, or the shape I'm trying to apply the map to.

mikec-design avatar Oct 27 '19 02:10 mikec-design

@fyreflyt Same issue as #6. Please close this issue and refer to the other one.

mkormendy avatar Oct 30 '19 04:10 mkormendy

Hello mates,

I was also getting the same error for so long. And I have checked the complete plugin code and everything. And at last, I found the solution.

First of all, check the [static map url] being used in your "main.js" file of your plugin folder. You can check the correct URL in the below-attached screenshot.

image

And also check API key code written must same as this:

-- "&key=" + encodeURIComponent(inputValues.apiKey);

After all the above part is done and proper, then check your API key by entering your key in the below URL:

https://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318&markers=color:red%7Clabel:C%7C40.718217,-73.998284&key=[YOUR_API_KEY]

either it is working or not.

And if it is not working and showing a billing error or something.. then directly check the below points.

Check if your Google Map Console billing is enabled or not. Check if the Static Map API service is enabled or not. This is what I have done, and mine is working properly now.

karthikruiux avatar Aug 26 '21 07:08 karthikruiux