cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenChainCode
Frequent Visitor

Create folder bad gateway

I have a fairly simple flow

 

  1. Sharepoint item created
  2. get item
  3. Create new folder
  4. Grant access to folder
  5. Send email

 

For some reason one of the flows gets a bad request error on the create folder.  

 

The error message:

 

      "message""The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)\r\nclientRequestId: 4465bad5-4143-4143-b52d-5afe550a8272\r\nserviceRequestId: 4465bad5-4143-4143-b52d-5afe550a8272"
 
What I don't understand is why. Other times the flow runs without problems. There is nothing obviously different about this item name to cause this issue. It is unclear what sort of format requirement limitations there are.
 
Resubmitting results in failure.

 

BenChainCode_0-1631875460715.png

 

I see similar issue was posted before but not solved: https://powerusers.microsoft.com/t5/Building-Flows/Bad-gateway-creating-folder/m-p/456881#M54546

 

1 ACCEPTED SOLUTION

Accepted Solutions
BenChainCode
Frequent Visitor

Of course the second I press post I find the issue:

 

There was a space at the end of the generated folder name string. Deleting that solved it. 

View solution in original post

2 REPLIES 2
BenChainCode
Frequent Visitor

Of course the second I press post I find the issue:

 

There was a space at the end of the generated folder name string. Deleting that solved it. 

View solution in original post

rrovira
Microsoft
Microsoft

Hello, @BenChainCode!

 

Interesting! I wouldn't have thought that a single space at the end of the path would be the cause the issue! Would you please mark your answer as the solution so other user can check this solution? 😁

 

Thanks in advance and cheers!

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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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 (1,273)