Skip to main content

Trying to upload a file via AARI, the file should be then used by task bot for further processing, getting below error “StorageFileUri must start with crdata://. Invalid StorageFileUri:” . 

 

Hi @madhurij1103,

 

I faced the same issue and was able to get around it by not using a file type variable in the ‘Get Storage file’ command, instead feed the file location from the input form in a string variable (input variable for your Task Bot) and use that in your command by selecting the ‘Desktop file’ option instead.

 

Your string variable should hold a value which looks like: “crdata://aari/v2/files/2585?fn=<filename>.pdf”, where <filename> is the respective file name you uploaded. You can verify the value using a message box.

Here is a screenshot of the command:
 

 


Did you find a solution ? I am having the exact same problem.

I am following the documentation https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/process-composer-upload-storage-file.html and I get the error “StorageFileUri must start with crdata://.  Invalid StorageFileUri: , path C:\Users\<my path>\RPA_Logs\Default\”


Hi, did you find a solution ? I am having the same error today and I don’t have an explanation


I have just reproduced the error :

 


The solution in my case was to tick the “Upload” and not the “Download” button, contrarily to what is explained here : https://apeople.automationanywhere.com/s/article/Invalid-storage-file-URI


Reply