cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WKU
New Member

SP action Extract folder error 400

I'm able to successfully copy a ZIP file from OneDrive to a SPO library. Then I like to extract the ZIP but this action fails and results always with an error 400.

 

{
    "inputs": {
        "host": {
            "connection": {
                "name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']"
            }
        },
        "method": "post",
        "path": "/datasets/@{encodeURIComponent(encodeURIComponent('https://contoso.sharepoint.com/sites/Test-RM'))}/extractFolderV2",
        "queries": {
            "source": "@body('Datei_erstellen')?['Path']",
            "destination": "/Dokumentenablage/tmp",
            "overwrite": true,
            "queryParametersSingleEncoded": true
        },
        "authentication": {
            "type": "Raw",
            "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
        }
    },
    "metadata": {
        "flowSystemMetadata": {
            "swaggerOperationId": "ExtractFolderV2"
        }
    }
}

 

Is this a permission issue or simply not working?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @WKU ,

 

Could you provide the screenshot of the flow configuration so that we could check the error?

Following is my test demo, maybe it can provide some reference:

71.PNG

 

Best Regards,

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

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @WKU 

 

image.png

 

Make sure your the connection you used for the extract folder action step has the right permissions (Destination Folder) in SharePoint.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
v-bacao-msft
Community Support
Community Support

 

Hi @WKU ,

 

Could you provide the screenshot of the flow configuration so that we could check the error?

Following is my test demo, maybe it can provide some reference:

71.PNG

 

Best Regards,

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,818)