We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Download Tool Stoi Argument Error

ryannschuessler
7 - Meteor

Hi! I'm using the download tool to pull a report from a URL and received the following error- Error in writing: stoi argument out of range. I have ran this workflow many times successfully but all of a sudden I got this error.

 

The download tool has the url in the URL field and is set to output to a temporary file. The download was too large to output to a string. 

Headers and payload are all empty and HTTP Action is set to GET.

 

Does anybody know why I am getting this error and how to fix? Thanks!

8 REPLIES 8
apathetichell
20 - Arcturus

Does your file size exceed 2147483647 bytes (max integer size in C) or 2.14 GB? Your error message makes it seem like something being converted to an integer (file size/bytes/etc) is too large. That would be root cause - not really sure of the workaround.

 
psyrio
9 - Comet

Hi,

 

Do you have found a solution ?

I have the same problem with download too with a file into DATA.GOUV.FR, the file have 1.3Go of size.

 

Regards,

Bruno

 

apathetichell
20 - Arcturus

are you downloading to a string? try downloading to a blob and then outputting it and reading it back in.

psyrio
9 - Comet

Hi,

 

I have try with string and file directly but I have an error :(

apathetichell
20 - Arcturus

Post a screenshot of your workflow - and the error message.

Ishmael_Appiah
6 - Meteoroid

Did you guys resolve this error or find a work round? i am facing the same issue. My file is 3.1gb in size

apathetichell
20 - Arcturus

Post your error message.

Ishmael_Appiah
6 - Meteoroid

Hi Altair,
I reduced the file to below 2gb and the Stoi error went away.

Labels
Top Solution Authors