cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
davehope
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
v-alzhan-msft
Community Support
Community Support

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.

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,295)