Alteryx Designer Desktop Discussions

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

Download error with URL

leewa007
7 - Meteor

We used the generate rows icon to create the Annual_Transaction_Date as follows:

leewa007_3-1670000933137.png

 

leewa007_0-1670000375750.png

We created this URL based on the information we are pulling from our database. We had to create the Annual_Transaction_Date to reflect one year because our data was on days rather than years. After creating this URL the data we received was as follows:

 

leewa007_1-1670000594626.png

Once we run the URLs created, we get an error message:

 

leewa007_2-1670000810933.png

 

We are unsure as to how to correct this or where we made the mistake. Can someone help????

12 REPLIES 12
Felipe_Ribeir0
16 - Nebula

Hi @leewa007 

 

First error: the end date that you are passing to the url is using the yyyy-mm-dd hh:mm:ss format. Format it to be only yyyy-mm-dd (like your start date) and try again.

Felipe_Ribeir0_1-1670001430097.png

 

 

Second error: activate the throttle and set it to 300 on your download tool and try again.

Felipe_Ribeir0_0-1670001363574.png

 

leewa007
7 - Meteor

What command should I use instead if I still want to be able to add the = 363 and the "days"

 

The only other one I saw is the "todate" but it will not allow me to include the +363 days

Felipe_Ribeir0
16 - Nebula

@leewa007 

 

Try to replace the last part of your URL formula for this one: todate(datetimeadd(todate([startdate]), 363, "days"))

 

Felipe_Ribeir0_0-1670002165055.png

 

leewa007
7 - Meteor

You are awesome that worked to take the time stamp off. However, lol now after running it this is what we get

 

leewa007_0-1670002566721.png

Is that what we are supposed to get? What do the red little corner tabs mean?

 

We get these errors

leewa007_1-1670002675302.png

 

 

Also, all of our JSON came back null :(

 

leewa007_2-1670002764985.png

 

Felipe_Ribeir0
16 - Nebula

@leewa007 

 

Configure the JSON parse tool to parse the DownloadData column and with the first option selected and try again. On your first print, you can see that the data came and it is inside of the DownloadData column.

 

Felipe_Ribeir0_0-1670002970727.png

 

leewa007
7 - Meteor

Thank you so much for the help. We currently have more questions if you are able to help us that would be greatly appreciated.

 

We need to create a table that will reflect all the results 0 for example in one row rather than having 5 rows. 

leewa007_0-1670008427721.png

 

In doing so we used the formula icon and tried to separate the lines into columns first but we are unable to put in in numbers because it states we have to keep it as a string.

leewa007_2-1670008619142.png

 

leewa007_1-1670008562988.png

 

 

The outcome once I used the CrossTab this is what we did 

 

leewa007_4-1670008914576.png

 

 

But I see that it concatenated so many values together it should be 1 item per column and I see in some columns we have 6 or 7 different values added. Why is that?

Felipe_Ribeir0
16 - Nebula

Hi @leewa007 

 

This data is public? If yes, can you share the workflow if this does not work?

 

Copy the components from this container/workflow and add after the json parse tool:

 

Felipe_Ribeir0_1-1670009672892.png

 

 

 

 

 

 

leewa007
7 - Meteor

Here is our thread and we also noticed there are some other errors. I am at a loss we tried your suggestion above and it is not working :(

 

I hope this might help; I was unable to post the thread on here like you did. :)

Felipe_Ribeir0
16 - Nebula

Hi @leewa007 

 

Try like this

Labels