If excel is not in the folder, “excel file not found” will be displayed and the “final” state will be entered. But when I run the same program in the cloud, if excel is not in the folder, it will show “excel file not found” and it will enter “non-retryable exception” state.
Well there are a few possible reasons why your UiPath program is failing in the cloud, even though it runs fine on your local machine:
Invalid credentials:
Even though you have not explicitly assigned any ID and password to your program, it is possible that UiPath is trying to authenticate with a cloud service using your UiPath credentials. If your credentials are invalid, this will cause the program to fail.
Missing dependencies:
It is also possible that your program is missing a dependency that is required to run in the cloud. For example, if your program uses a third-party library, you need to make sure that the library is installed on the cloud machine.
Different environment:
The cloud environment may be different from your local environment in a number of ways, such as the operating system, the version of UiPath, and the available resources. This could cause your program to fail in the cloud, even though it runs fine on your local machine.
Check on these aspects and let us know for any clarification