web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get File Content Broke...
Power Automate
Unanswered

Get File Content Broke (from Microsoft Forms to List)

(1) ShareShare
ReportReport
Posted on by 6
Hello!
 
I built a flow a year ago that has been working no problem and all of sudden its broken.  The portion of the flow that broke is the one that pulls an attachment that was uploaded through a microsoft form and basically attaches it to a list item.  
 
 
The Parse JSON is set up like this:
 
{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "name": {
                "type": "string"
            },
            "link": {
                "type": "string"
            },
            "id": {
                "type": "string"
            },
            "type": {},
            "size": {
                "type": "integer"
            },
            "referenceId": {
                "type": "string"
            },
            "driveId": {
                "type": "string"
            },
            "status": {
                "type": "integer"
            },
            "uploadSessionUrl": {}
        },
        "required": [
            "name",
            "link",
            "id",
            "type",
            "size",
            "referenceId",
            "driveId",
            "status",
            "uploadSessionUrl"
        ]
    }
}
 
Delay is there to allow everything some time to process.  And then Get File Content was pulling the body ID of the parse JSON.  The last piece just adjusts the name of the file.  I don't think that's causing an issue but its not even getting to that part as far as I can tell.  This flow has been working for almost a year.  Any help would be greatly appreciated!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
    Hi
     
    You have to provide an actual flow with the errors and details, versus trying to explain it.
  • BrieCheese Profile Picture
    6 on at
    If there was not enough info on the first post here is a few more screen shots/details.  Again, this worked for 11 months so I am really confused at what happened/changed.  
     
     
     
    {
        "type": "array",
        "items": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                },
                "link": {
                    "type": "string"
                },
                "id": {
                    "type": "string"
                },
                "type": {},
                "size": {
                    "type": "integer"
                },
                "referenceId": {
                    "type": "string"
                },
                "driveId": {
                    "type": "string"
                },
                "status": {
                    "type": "integer"
                },
                "uploadSessionUrl": {}
            },
            "required": [
                "name",
                "link",
                "id",
                "type",
                "size",
                "referenceId",
                "driveId",
                "status",
                "uploadSessionUrl"
            ]
        }
    }
     
     
     
    Error:  
     
     
    INPUTS
     
    Host
     
    {
    "apiId": "subscriptions/b745f25e-91b5-4140-9d73-93b10b1dfb1d/providers/Microsoft.Web/locations/westus/runtimes/msmanaged-na/apis/onedriveforbusiness",
    "connectionReferenceName": "shared_onedriveforbusiness",
    "operationId": "GetFileContent"
    }
     
    Parameters
     
    {
    "id": "01XNBNC3JHKSMSEPSAZZCY2Y57JSQ2JYXX",
    "inferContentType": true
    }
     
     
    OUTPUTs
     
    StatusCode
    404
     
    Headers
     
    {
    "Cache-Control": "no-cache",
    "Pragma": "no-cache",
    "Transfer-Encoding": "chunked",
    "x-ms-request-id": "ebb07cc1-bd58-4bc2-a163-83fb9298e061",
    "X-AspNet-Version": "4.0.30319",
    "X-Powered-By": "ASP.NET",
    "x-ms-client-region": "unitedstates",
    "x-ms-flavor": "Production",
    "x-ms-workflow-name": "f6c0f8ac-8732-4be4-9da5-14750f634b0d",
    "X-Ms-Workflow-Resourcegroup-Name": "559755AEC9094F42AF1EA1404FDB0629-113E028E7FC749AEB1650F17946064CB",
    "x-ms-workflow-run-id": "08584729388374005087501133709CU132",
    "x-ms-workflow-subscription-id": "b745f25e-91b5-4140-9d73-93b10b1dfb1d",
    "x-ms-workflow-version": "08584729388615277339",
    "x-ms-tenant-id": "559755ae-c909-4f42-af1e-a1404fdb0629",
    "Timing-Allow-Origin": "*",
    "x-ms-apihub-cached-response": "true",
    "x-ms-apihub-obo": "false",
    "Date": "Fri, 11 Oct 2024 17:34:26 GMT",
    "Content-Type": "application/json",
    "Content-Length": "109",
    "Expires": "-1"
    }
     
     
    Body
    {
    "status": 404,
    "message": "The resource could not be found.",
    "source": "api.connectorp.svc.ms"
    }
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard