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 / json Collection from ...
Power Automate
Answered

json Collection from power apps for use as a file name in onedrive

(2) ShareShare
ReportReport
Posted on by 19
Hi everybody,
 
i have an flow where i get a json collection from, power apps. First i initialize the json as a sting named vJSONCollection.
Next step i analyze the vJSONCollection and use this schema:
{
    "type""object",
    "properties": {
        "Adresse": {
            "type""string"
        },
        "Arbeiten": {
            "type""string"
        },
        "Auftrag": {
            "type""string"
        },
        "Auftraggeber": {
            "type""string"
        },
        "CheckboxInst": {
            "type""string"
        },
        "CheckboxNoError": {
            "type""string"
        },
        "CheckboxRep": {
            "type""string"
        },
        "Datum": {
            "type""string"
        },
        "FahrtAnkunft": {
            "type""string"
        },
        "FahrtBeginn": {
            "type""string"
        },
        "Filiale": {
            "type""integer"
        },
        "Kilometer": {
            "type""string"
        },
        "KundeBeginn": {
            "type""string"
        },
        "KundeEnde": {
            "type""string"
        },
        "KundenName": {
            "type""string"
        },
        "LogoKunde": {
            "type""string"
        },
        "Ort": {
            "type""string"
        },
        "PLZ": {
            "type""string"
        },
        "TaskNummer": {
            "type""string"
        },
        "Techniker": {
            "type""string"
        },
        "Toggle": {
            "type""boolean"
        },
        "VorlageKunde": {
            "type""string"
        },
        "WartenBeginn": {
            "type""string"
        },
        "WartenEnde": {
            "type""string"
        }
    }
}
 
No i think i have an array.
In the next stepp i use the action "Get File Content" and here i get my error.
 
{
  "status": 400,
  "message": "The file id '/PowerApps/Vorlagen/advanced.html' is not valid.",
  "source": "api.connectorp.svc.ms"
}

I use as file name this: /PowerApps/VorlagenXXX.html 
The 3 X are the dynamic variable: VorlageKunde

When i browse to the file manually it works.
The Name and the Path are both the same
 
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,488 Super User 2025 Season 2 on at
     
    The issue is, you are using the Path, in Get File Content, it wants the File Id, NOt the path.
     
    You want to use
     
    Get file content using path action instead
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard