cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (31,627)