Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Check out our powerful new search update! You can read more here. Please let us know if you have any feedback by creating a topic here.
SOLVED

Google Places API

Highlighted
Asteroid

I'm really stumped.  I'm trying to use the google places API, but I'm not able to connect through an Alteryx workflow.  

 

In trying to diagnose the issue, I used the sample query Google provided on their dev portal.

 

 
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=%2B61293744000&inputtype=phonenumber&fields=place_id&key=YOUR_API_KEY
--I used my key in place of YOUR_API_KEY

I still couldn't get the proper results in Alteryx -- I get a 200 Connection header but the results say invalid_request. (left picture)

When I copied the full URL (incl my key) from my workflow into Chrome, it returned results (right picture)

 

Any ideas?

 

Alteryx DownloadData ResultsAlteryx DownloadData ResultsChrome ResultsChrome Results

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Have you checked and unchecked the 'Encode URL' option?

 

(from experience, this seems to be a good place to start with API debugging).

Asteroid

Ben, I was just headed back to post this.

 

Yep, I unchecked the Encode URL and it worked...thanks for the speedy reply!

Labels