Upload storage file unstable

Hi UiPath,
I am using the upload storage file activity in a process to upload pdf files into a storage bucket.

Sadly, I have to say that it works very unstable. Regularly the activity fails to upload the file giving the error message: “Path not found”.

Yet, I have a log message just before and the path exists. Further, when I restart the process one or two times - it works.

I can’t provide an xaml file (enterprise). But the process until then is simple:

  1. Get transaction item with file path
  2. Upload file to storage bucket using the file path

Any suggestions? Thank you!

Try a Retry Scope around the upload activity. It’ll try again if there is an error.

1 Like

Hi @PeCour

  1. Check the file path: Make sure that the file path that you are using is correct and points to an existing file. You can use the “Log Message” activity to log the file path and verify that it is correct.
  2. Check the permissions: Make sure that you have the necessary permissions to access and modify the file. You may need to check with your system administrator or the owner of the file to ensure that you have the correct permissions.
  3. Check the network connection: Make sure that you have a stable and fast network connection, as this can affect the speed at which the file is uploaded.
  4. Check for errors in the process: Use the “Try Catch” activity to wrap the “Upload Storage File” activity, and add a “Log Message” activity inside the “Catch” block to log any errors that may be occurring. This can help you identify any issues that may be causing the “Path not found” error.
  5. Check the storage bucket configuration: Make sure that the storage bucket is configured correctly and that you are using the correct bucket name and access credentials.

I hope this helps.

Hi @Kaviyarasu_N,
thank you for the suggestions.

But I am quite sure that the activity itself is unstable.
It works fine most of the time and when I retry the process, it works as well.
Therefore, I am sure that there is no process error.

But if no one else faced the problem, I will use the retry scope.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.