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:” .
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/94da64c2-6d20-4d07-a51f-0d12ce937ad8.png)
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/7ddf02b4-ea19-48de-a9bd-0c38f86f966e.png)
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
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:
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.