PowerPlatformConnectors
PowerPlatformConnectors copied to clipboard
[BUG] Box.com Create File Location
Type of Connector
Certified Connector
Name of Connector
Box - Create file
Describe the bug
When creating a file that is only 1 layer/folder deep, it is creating a new folder named "All Files" instead of the intended destination. When selecting the Root Box folder it works fine, when going 2 or more folders deep, it works fine. Code view below of all 3, Root, 1 folder deep, 2 folders deep.
Root: (Working)
{ "type": "OpenApiConnection", "inputs": { "parameters": { "folderPath": "/", "name": "@variables('FileName')", "body": "@body('Get_file_content_1_-_Get_Data_to_Copy_to_Box')" }, "host": { "apiId": "/providers/Microsoft.PowerApps/apis/shared_box", "connection": "shared_box-1", "operationId": "CreateFile" } }, "runAfter": { "Create_file": [ "SUCCEEDED" ] }, "metadata": { "/": "Box" } }
1 Folder Deep ( Error here )
{ "type": "OpenApiConnection", "inputs": { "parameters": { "folderPath": "//All Files/TEST Folder 1", "name": "@variables('FileName')", "body": "@body('Get_file_content_-OneDrive_Template_with_Scripts')" }, "host": { "apiId": "/providers/Microsoft.PowerApps/apis/shared_box", "connection": "shared_box-1", "operationId": "CreateFile" } }, "runAfter": { "Get_file_content_1-_Get_Data_to_Copy_to_Box": [ "SUCCEEDED" ] }, "metadata": { "//All Files/TEST Folder 1": "TEST Folder 1", "/": "Box" } }
2+ Folder Deep (Working)
{ "type": "OpenApiConnection", "inputs": { "parameters": { "folderPath": "/TEST Folder 1/TEST Folder 2", "name": "@variables('FileName')", "body": "@body('Get_file_content_1_-_Get_Data_to_Copy_to_Box')" }, "host": { "apiId": "/providers/Microsoft.PowerApps/apis/shared_box", "connection": "shared_box-1", "operationId": "CreateFile" } }, "runAfter": { "Create_file_1": [ "SUCCEEDED" ] }, "metadata": { "/TEST Folder 1/TEST Folder 2": "TEST Folder 2" } }
The "//Al Files/" folder shows up when only selecting 1 folder in the Root directory.
Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 2 - One or more important connector features are down
To Reproduce
Use a Box.com Create File connector and select one folder in the root directory as the destination. It will instead create a new folder "All Files" and create the destination folder inside instead of the intended target folder.
Expected behavior
Instead of prefixing "//All Files/Target Folder" it should just be "/Target Folder" in the code view.
Environment summary
Power Automate Online, Online Connector, OS Win 10.
Additional context
If the code could be edited it would be a simple fix.