cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

BadRequest Status Code 400 – Failed to read parameters

Hey all,

Firstly, I'm very new to Flow so this may be something simple that I jus don't know?

I'm getting a BadRequest error 400 when copying a file to another folder in SharePoint with a date-time stamp as the filename.

Here's my flow:

flow-config.pngExpression: concat(formatDateTime(utcNow(),'yyyy-MM-dd, hh-mm'),'.','xlsm')

 

Here's the error:

flow-error-400.png

 

Any help would be greatly appreciated 👍🏼

 

Dave

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: BadRequest Status Code 400 – Failed to read parameters

Hi @davehope ,

 

You couldn't name the copy file in your "Backup file" action.

We could only choose an option from the "If another file is already there" field in the Copy file action.

1.png

 

If you want to copy the file with a new name, you could take a try with the "Create file" action.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
New Member

Re: BadRequest Status Code 400 – Failed to read parameters

Hey, thanks for your reply.

I took a look at the "Create file" action but I have no idea how to tell it to use the existing file?

Basically, I'm looking for the SharePoint version of the ODfB action that works perfectly:

flow-odfb.png

As you can see, it (simply) lets me select the existing file and copy it to a new location with a new file name.

Does anyone know how I can do that in SharePoint?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Users online (6,383)