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

Community site session details

Session Id :
Power Automate - Connector Development
Unanswered

Custom Connector returns 502 despite API working in Flows

(2) ShareShare
ReportReport
Posted on by 258

I'm trying to set up a custom connector for a REST API I'm using in Power Apps so we don't have to use Flows anymore. Calls to this API using the HTTP connector in Power Automate work fine, but when I try to recreate those same calls as a custom connector, I consistently get "Operation failed (502), see response below" like in this screenshot.

bobesponja_0-1708949041454.png

This happens regardless of whether I import the API as a Postman collection or try to start from scratch (the screenshot above is from a smaller test connector I made that just uses 1 of the available functions). Tests for this connector always return the same result seen above regardless of what values (if any) are given in the query parameters. We do not host or have creative privileges over the API because it is hosted by another business, so I cannot make any CORS changes. The API doesn't have any public documentation that I'm aware of, so I cannot publicly post the Swagger setup for the connector. What do I do?

Categories:
I have the same question (1)
  • NK-03111010-0 Profile Picture
    3 on at
    Custom Connector returns 502 despite API working in Flows
    We have the same problem now, we configured enterprise policies for being able to connect to from the custom connector to our vnet in Azure through subnet injection. But testing the custom connector always ends up with 502, whatever we configure. Is there some networking issue with the APIM that is being hit from the custom connector?

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 489 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 479 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 271

Last 30 days Overall leaderboard

Featured topics