Upload Storage File: Operation returned an invalid status code 'BadRequest'

Hi. I created a Classic Folder named “MyFolder”. In that, I created a Storage Bucket named “MyStorage”. But when I run Upload Storage File activity, I get the following error with no further details:

Upload Storage File: Operation returned an invalid status code 'BadRequest'

I put these data for Upload Storage File activity’s fields:
Path:
"E:\MyFiles\9265.docx"

Orchestrator Folder Path:
"MyFolder"

Destination:
"\9265.docx"

Storage Bucket Name:
"MyStorage"

What is the cause of the error?

@Forum_Staff I’m stuck in the middle of a project for a customer. Please help.

1 Like

Hi @atoi

Did you resolve this issue?

I’ve just tested it myself and it worked flawlessly. The only way I was able to reproduce the error was by setting my Destination to "" (empty).

Did you try to set it without the leading \?

One question. Shouldn’t I be able to see the folder that Studio is connected to? All I can see is only “Orchestrator, Default”, not my newly-created folder.

Capture

Correct. I believe you need to have your Robot be part of that new folder as well.

I’m confused right now. Could you please elaborate the further steps I need to take?

In Orchestrator, you can create a robot in your Folder rather than for the Default Folder.

First navigate to your Folder via the top right menu:
image

And then go the the management tab on the left and create your Robot for that folder :slight_smile:
image

2 Likes

Did you try to use the Orchestration Process in the studio. try the code in Orchestration Process in studio.

Check BucketOptions if it is readonly. and uncheck it

2 Likes