Successfully run in studio but error in running in automation cloud

I didn’t assigned any ID and password in the program but when I run it in the cloud it shows error ID and password are invalid.

The attachment below show the second error:

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.

Hello @Miko

Issue 1: ID and Password Error

  • Double-check your cloud environment setup for authentication.

Issue 2: Handling Excel File Not Found Exception

  • Ensure correct file paths in the cloud environment.
  • Check file access permissions.
  • Implement robust error handling in your code.
  • Use cloud debugging tools if available.

Thanks & Cheers!!!

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

Hope this helps

Cheers @Miko