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 Automate / Custom Connector retur...
Power Automate
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
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard