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 Automate
Unanswered

JSON response Format

(0) ShareShare
ReportReport
Posted on by 2

I am trying to call an API from AWS Lambda, for this I have created a custom connector.

The test connection for the api is working fine. I have added this connector in the power apps and calling the connector on Select of the button --> onSelect= Set(response, 'test-sre1'.testsre1()). I am getting an error stating "The data returned in this response is invalid. Response data should be a valid JSON 

 

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

    Hi , @Soni11 

    As searched , you can try to add the Accept in your request headers. 

    Accept : application/json

    And for the similar case, you can refer to :

    Solved: The Data return in the response is invalid, Respon... - Power Platform Community (microsoft.com)

    Solved: Re: Power App + custom connector - The Data return... - Power Platform Community (microsoft.com)

     

    Best Regards,

    Yueyun Zhang

  • Soni11 Profile Picture
    2 on at

    Thank you for the reply!

    I added Accept : application/json and tried again but I am still getting the same error.

  • v-yueyun-msft Profile Picture
    on at

    Hi , @Soni11 

    For this error code ,Sorry for that it is hard to find the solution and this is a generally error. I suggest you create a support ticket for professional assistance following the below procedure.

    Get Help + Support - Power Platform | Microsoft Docs

     

     

    Best Regards,

    Yueyun Zhang

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard