Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Google Places API

BPurcell2
9 - Comet

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

 

2 REPLIES 2
BenMoss
ACE Emeritus
ACE Emeritus

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

 

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

BPurcell2
9 - Comet

Ben, I was just headed back to post this.

 

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

Labels