cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kwoxer
Advocate I
Advocate I

Create file and Get Tables result in BadRequest - Excel Online does not work

I use the Create File of OneDrive (for Business). This creates a dynamic name for my file. That one has the current timestamp from a variable at the end.

 

After that I access that file via Excel online (Business) with the Get Tables.

 

kwoxer_0-1610101091423.png

But when I run it I get BadRequest. That's strange because the file has been created successfully.

kwoxer_0-1610101664741.png

 

Okay so I was thinking that it might be the issue with the dynamic timestamp. And my attempt was kind of true. When I set the name to a static one, it works with the Get Tables. But this is no solution, as I get the 423er error after some runs. So Way saver for me would be the dynamic solution with the timestamp.

 

You have any idea why I run into the 423er error issue, or why the Get Tables fails, although the file exists?

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @kwoxer,

 

Can you try and use the Id dynamic value of the Create file 2 action and see if that works?

 

outputs('Create_file_2')?['body/Id']

 

 createfileid.png

View solution in original post

2 REPLIES 2
Expiscornovus
Super User II
Super User II

Hi @kwoxer,

 

Can you try and use the Id dynamic value of the Create file 2 action and see if that works?

 

outputs('Create_file_2')?['body/Id']

 

 createfileid.png

View solution in original post

Works but does not makes sense to me. At the end it accesses the same file. In your case the file is used by reference. Anyway not good to just give the useless error message of BadRequest.

 

Thanks anyway.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Top Solution Authors
Users online (2,279)