cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Connecting to Custom API

I have succeeded in creating and testing the Custom Connector and it works fine. The challenge I am having now is, I am unable to call the API from inside the powerapp. I want to bind the API to the drop-down field such that the data automatically populates the drop-down field OnSelect or OnChange. 

2 REPLIES 2
Microsoft
Microsoft

I am looking for exactly the same functionality. I looked at a similar thread that I am not sure would help you -

 

https://powerusers.microsoft.com/t5/General-Discussion/How-do-I-bind-my-custom-API-to-a-dropdown-con...

 

For me this thread did not work as the response I get from the custom API connector querying a graph API saves the outcome in a collection with arrays. I am figuring out how I could retrieve the result from a collection array and have it binded to a dropdown list.

 

PowerApps.JPG

Community Support
Community Support

Hi @adagloria,

Is there some error message when you call your API within your app?

Could you please share a bit more about your issue?

Further, could you please share more details about the Custom API formula you used within your app?

I agree with @alzia's thought almost. Please check if you have specified proper response schema for the specific Operation within your custom connector.

In addition, please also check if you have specified proper response type within the Response part of your OpenAPI definition file.

You could consider take a try to test your API using Postman tool, and then get the response body of the '200 OK' response, after that, copy that response body and paste it into the Response schema of the 200 response for the specific Operation in your custom connector.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (71,731)