cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yoshihirok
Memorable Member
Memorable Member

How can I fix the ERROR "BadRequest" of File - Extract folder ?

I want to extract files from zip file.

ERROR is "BadRequest"

 

Outputs in Japanese.

{ "status": 400, "message": "要求されたアクションを完了できませんでした。要求パラメーターを確認して、エンティティがファイル システムに存在することを確認してください。", "source": "127.0.0.1" }

 

this message mean that requested action cannot completed, Please check request parameter, and check the entitiy exist."

 

My Test flow:

1. Trigger When a file is added or modifed.

  Folder: C:/FLOW/receive

2. Action: Extract folder

  Source archive file path: [File Path]

  Destination folder path: C:/FLOW/zip

  Overwrite: Yes

 

1.png

 

 

 

Regards,

Yoshihiro Kawabata

11 REPLIES 11
v-yamao-msft
Community Support
Community Support

Hi Yoshihiro,

 

Have you tried other actions such as “Get file content”, “Copy file”, etc. after the trigger “File System> When a file is added or modified” to see if you would also get the same error message?


Could you help to test this and back to me the result?

 

Best regards,
Mabel Mao

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

Hi @v-yamao-msft thank you for your reply.

 

Yes, I can "Get Content", and push notification

 

 

Hi @v-yamao-msft thank you for your reply.

 

Yes, I can "Get Content", and Send a push notification

1.png

 

How do I test more ?

 

Regards,

Yoshihiro Kawabata 

 

 

Hi Yoshihiro,

 

Could you create a flow ”When a file is added or modified>Get file content” to see if you could get the file content?

2.PNG

 

Best regards,
Mabel Mao

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

Hi @v-yamao-msft, thank you for your reply

 

Yes, I can get the file content.

 

Hi @v-yamao-msft, thank you for your reply

 

Yes, I can get the file content.1.png

 

 

 

I will re-create a flow with Extract folder.

 

Regards,

Yoshihiro Kawabata

Hi @v-yamao-msft

 

I re-create a flow with Extract folder, and output is "BadRequest"

 

 

Hi @v-yamao-msft

 

I re-create a flow with Extract folder, and output is "BadRequest"

1.png

 

 

 

Regards,

Yoshihiro Kawabata

Hi Yoshihiro,

 

Thanks for testing and updating. I am trying to confirm this issue from my side, I will back once I got any updates.
Thanks for your patience and understanding.

 

Best regards,
Mabel Mao

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

Hi Yoshihiro,

 

There’s an issue with how the destination folder path detects whether a full path or relative path was given. As a temporary workaround, please try to manually type the relative path into the destination folder field and this will work (e.g. insert “zip” instead of C:/FLOW/zip if your root folder is C:\FLOW).
Please try if this works for you.

 

PGs are working on this issue, I will back to you once I got any updates.

 

Best regards,
Mabel Mao

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

Hi @v-yamao-msft thank you for your workaround information.

 

Yes, my flow sccess by "Destination folder path" = "zip".

But, where are there the "zip" ?

 

I cannot found the "zip" folder in C:\, C:\Flow, C:\Flow\Receive.

"File System" - "Root" is "C:\Flow".

 

Regards,

Yoshihiro Kawabata

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,364)