Alteryx Designer Desktop Discussions

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

How to call google timezone API in Alteryx via Download tool?

Hi team!

I'm trying to call google timezone API in Alteryx via Download tool, but it gives me "HTTP/1.1 400 Bad Request".

 

My workflow is super simple: 

Screenshot 2023-12-15 202842.png

 

Text input with url: 

 

 

Screenshot 2023-12-15 203821.png

 

Url is correct, when I place it in browser, it gives me correct response:

 
 
{
   "dstOffset" : 0,
   "rawOffset" : -28800,
   "status" : "OK",
   "timeZoneId" : "America/Los_Angeles",
   "timeZoneName" : "Pacific Standard Time"
}

 

Download tool settings are the following:

 

Screenshot 2023-12-15 203119.png

And output from browser:

 

Screenshot 2023-12-15 203239.png

 

 

 What did I do wrong? And how to make it work?

 

Thank you in advance for your help!

 

 

 

 

 

2 REPLIES 2
gautiergodard
13 - Pulsar

Hey @Svetlana_Baranova 

Try unchecking the encode URL option in the download tool. I see you have “%2C” in there which maps to a comma “,” prior to being encoded which make me feel like the URL you are trying to pass through has already been encoded. 

It worked! thank you so much!

Labels