AnsweredAssumed Answered

InsertFromURL

Question asked by osninc on May 27, 2018
Latest reply on May 27, 2018 by bigtom

Hi,

 

I am sending this in an insert from URL and have tried it both encoded and not encoded and it doesnt work in FMP16 but does if I paste the URL in a browser.  I have double checked for

 

 

https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=MY_KEY_GOES_HERE

 

The script InsertFromURL calls the above URL in a field named REQUEST and inserts the response into a field named REPLY.  When i run the script in FMP it returns:

 

{

   "error_message" : "The provided API key is invalid.",

   "results" : [],

   "status" : "REQUEST_DENIED"

}

 

Yet if I paste the same URL in a browser it returns the expected Geocoding response.

 

Any idea why this isnt working?

 

Thanks

Outcomes