cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
davehope
Level: Power Up

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
Community Support Team
Community Support Team

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.

davehope
Level: Power Up

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
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,266)