i created a learning instance and i am able to upload files on the iq bot , it also shows on the learning instance that the file was read successfully. but when i use the download iq bot command i keep getting "call to the remote server was interrupted '! iqb.exception.generic!'."
my IQ bot is unable to download the iq bot output
Hi @marlon mapula ,
PFB info
Cause Below are the identified reasons :
- Input file not available at the mentioned path.
- Input file is open or in use with another application.
- Using "each file in a folder" of Loop command, filename.extension is missing.
- The issue could be the folder level permission.
- Bot runner does not have required IQ bot roles.
Resolution/Workaround Possible Solutions :
- The input folder must have the file being uploaded.
- The file which is being uploaded to the IQ Bot must not be open or in use by another application.
- In the loop command, the filename.extension must be added in the loop condition after defining the input file folder structure.
- Use the Download IQ bot Instance API {{IQBot_URL}}/gateway/learning-instances/{{instance_path_here}}/files/archive?docType=SUCCESS and check if the output folder is populated. Should it be successful, check if the output folder is a network/local path. The run as device user should have full permission on the network/local folder which you select while uploading the document. Right click on the Output folder > Properties > Security > Edit > Add, and then add the runner user. Finally, give full permission to it and save.
- Add the appropriate IQ bot roles to the Bot runner user and try running the Bot again.
Good day Chandu
all of the work around besides the 4 has been tried,
1, issue is when downloading the file , uploading does not cause any issue,
2, file is not open or in use when running the bot
3, file name and extension is added on the loop
5, im using my own account to develop and run the bot.
4, this one im not able to find the Download IQ bot Instance API can you provide further instruction for this ?
Please feel free to open a support case
![Collaborator Badge](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/eeb1807e-43ef-49be-9d57-ee7e35651ddc_thumb.png)
having the same issue. did you ever found the solution?
Cause
Below are the identified reasons :
- Input file not available at the mentioned path.
- Input file is open or in use with another application.
- Using "each file in a folder" of Loop command, filename.extension is missing.
- The issue could be the folder level permission.
- Bot runner does not have required IQ bot roles.
- Defect case:- Download with delete option tries to download huge files from the server and its unable to download due to LB timeout as well
Download Files API which is used by the IQBot download command was downloading 100 files in a batch , since the Input files were large ranging between 49MB -30 MB the API was slow and was taking more time blocking Other threads.
Resolution/Workaround
Possible Solutions :
- The input folder must have the file being uploaded.
- The file which is being uploaded to the IQ Bot must not be open or in use by another application.
- In the loop command, the filename.extension must be added in the loop condition after defining the input file folder structure.
- Use the Download IQ bot Instance API {{IQBot_URL}}/gateway/learning-instances/{{instance_path_here}}/files/archive?docType=SUCCESS and check if the output folder is populated. Should it be successful, check if the output folder is a network/local path. The run as device user should have full permission on the network/local folder which you select while uploading the document. Right click on the Output folder > Properties > Security > Edit > Add, and then add the runner user. Finally, give full permission to it and save.
- Add the appropriate IQ bot roles to the Bot runner user and try running the Bot again.
-
Batch size in IQBot command will be reduced from 100 files to 5 files to ensure larger files are downloaded with in 1 minute .
Upgrade and import bot-command-iqbot-2.1.0-SNAPSHOT.jar Package to fix the issue
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.