I have the following code in a Google Apps Script web app:
Maps.newGeocoder().geocode("Tyson's Corner, VA");
Yes, there's a typo in there. I always forget the proper name of the place.
This code uses the Apps Script Maps Geocoder to determine the location of the address.
When I run this minimal code, Apps Script raises an error:
Action not allowed
When I remove the '
from the address, the call completes and returns the correct location.
Does anyone know if this is expected behavior (I can't find it in the docs)?
I've tried your use case and experience the same error, I think there is an existing bug report for this scenario and still under investigation. You may want to follow it to be updated regarding any solutions or workaround (currently removing the "'
" would let this work, which you've already did).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With