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 Apps / text/plain in custom c...
Power Apps
Unanswered

text/plain in custom connector

(0) ShareShare
ReportReport
Posted on by 15

I've added a custom connector and validated its schema in my PowerApps environment. In the connection tester it works fine, and in the header it clearly states "content-type": "text/plain".

 

The body returned is text/plain, again, this works in the tester, but when I add this to a button or variable assignment in my PowerApp it says (in the PowerApp) "failed: the data returned in the response is invalid".

 

If I check with Fiddler, I see the request coming back (/invoke) to the PowerApp in text/plain.

Relevant swagger section for the 200 return code:
responses:
'200':
description: OK
schema: {type: string}

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    on at

    Hi @JosL ,


    Can you share more codes or screenshots with your scenario?

    It would be better to help you.

    Best regards,

    Sik

  • JosL Profile Picture
    15 on at

    Maybe I should restate my question: Does PowerApps support text/plain as a result from a connector instead of JSON? 

     

    I ended up writing my own Azure Function and creating a custom connector that does return JSON instead of using the built in connector that is broken. (Azure Automation)

  • victorsijtsma Profile Picture
    9 on at

    Can PowerApps receive a different type as response from a custom connector?

    Only supported types seem to be: Object(json) and binary.

     

    Flow/Power Automate is also allowed string for example

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard