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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Custom connector retur...
Power Apps
Answered

Custom connector returns only true/Boolean value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi PowerApps Team,

 

I created a custom connector using postman exported json file. I tested the connector using Test tab, it worked fine. But when I am calling any method from a screen/button click it's returning me only true value. But I checked the network log, it's returning the correct response/entire object as expected. Then I have gone through this link and https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Collect-Sammlung2-myconnec-rest-api-custom-connector-returns/m-p/316673#M91020 and added the response object in the response. It also not worked, thrown "Unable to resolve schema" error. I validated the response object in json formatter tool. So far I have tried all the steps multiple times but no luck. Also though may be my response object is bit complex, so tried with a very simple object, it also not worked.

 

Bot sure I am missing anything or there is any break in custom connector code? Can you pls take trhis issue as priority and support me. Thanks.

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @satprpa 

     

    Can you please share the sample data that you used to generate schema in this custom connector? I think there is a mismatch of the data passed in default response and the response that is actually been returned.
     
    You can copy the returned data from the Test tab when an execution is performed. This will help you generate correct schema. Make sure there are no extra brackets anywhere ([] or {}).
     
    Note: Once you change the schema in custom connector, you need to remove the connection in powerapps and add it again.
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • satprpa Profile Picture
    Microsoft Employee on at

    @yashag2255 Thanks for responding back. I have taken care of all those {}[] correctly and all other minimum checks. But it did not work. Spent almost 5-6 hrs on this yesterday. But today I have created a new connector, same schema I have  added in the response. Luckily it worked. Dont know what I have done extra in the new connector. Very weired behavior!

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @satprpa 

     

    Sometimes this happens due to caching. Whenever such an issue occurs, try to logout of the browser, clear the cache and login again. This solves the issue most of the time.
     
    Hope this Helps
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • psmith1117 Profile Picture
    26 on at

    Removing and adding back the connector to my app fixed the issue for me.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard