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 / Collect(Sammlung2;myco...
Power Apps
Answered

Collect(Sammlung2;myconnec... rest api custom connector returns ONLY "TRUE" VALUES

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

i did a custom connector and tested it with a manual trigger. I successfuly got all the data i need. Now i need all this data in my powerapp i created a button with this code:

"Collect(Sammlung2;myconnectorname.getprospectcount("mytoken")) "

 

it works without errors but the problem is i am only getting "TURE" values as result in my Collection "Sammlung2" and not for example the expected values like prospect count  40 or more complex data structures from other api requests like prospect name,address. Every request(getprospectcount or getprostepcts ...) goes through but every time my collection is getting filled with just TUREs strings

 

the datastructure looks like this  i think the problem is that it always start with "result" array ?:

{ "result": [ { "id": "string", "version": "string", "a ....

"https://www.weclapp.com/api2/#/"

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

    HI @Anonymous 

     

    To resolve this please update the 'getprospectcount' action in the Definitions in your custom connectors, you need to add a response sample into the default 200 response body, once you updates the response body, recreate the connection of this connector in your app and this will work as per your expectations.
    MicrosoftTeams-image (162).png

     

     

    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!

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard