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 / Testing Custom Connect...
Power Apps
Answered

Testing Custom Connector results in error 500

(0) ShareShare
ReportReport
Posted on by 70

Good day,

 

I am having an issue testing my Custom API. Error below.

Which ip's and ports must be open to connect to an on premises target ? Can anyone maybe help. Many thanks and much appreciated.

 

{
"error": {
"code": 500,
"message": "Unable to connect to the remote server",
"source": "europe-002.azure-apim.net",
"path": "forward-request",
"clientRequestId": "c50f529f-f03a-4d22-9ee3-a051-f202cfd9"
}
}

I have the same question (0)
  • Verified answer
    SteveYao Profile Picture
    Microsoft Employee on at

    Hi @fransk 

     

    Seems flow cannot connect to your API, do you have any IP restriction on your API side?

    Please refer to below.

    https://docs.microsoft.com/en-us/power-automate/limits-and-config#ip-address-configuration

  • fransk Profile Picture
    70 on at

    Hi @SteveYao ,

     

    I am sure there must be restrictions. Talking to the firewall guys. They wanted the public ip from me to open the route to the backend API server. I don't know what the ip is. Can you perhaps help ?

     

    Many thanks Steve

  • fransk Profile Picture
    70 on at

    Hi @SteveYao 

     

    Thanks for the link. Will send this onto the firewall guys.

     

    Regards

  • Wamprat Profile Picture
    2 on at

    I'm also getting a 500 error. Help?

     

    Headers:

    {
    "cache-control": "no-cache",
    "cf-cache-status": "DYNAMIC",
    "cf-ray": "82ddf8b59f485ae0-IAD",
    "content-type": "application/json; charset=utf-8",
    "date": "Wed, 29 Nov 2023 21:33:52 GMT",
    "nel": "{\"report_to\":\"heroku-nel\",\"max_age\":3600,\"success_fraction\":0.005,\"failure_fraction\":0.05,\"response_headers\":[\"Via\"]}",
    "referrer-policy": "strict-origin-when-cross-origin",
    "report-to": "{\"group\":\"heroku-nel\",\"max_age\":3600,\"endpoints\":[{\"url\":\"https://nel.heroku.com/reports?ts=1701293632&sid=929419e7-33ea-4e2f-85f0-7d8b7cd5cbd6&s=QXw0OE9%2B1YP8TPJU9X6PRRuEwxV6cjAU37LAa61JJUk%3D\"}]}",
    "reporting-endpoints": "heroku-nel=https://nel.heroku.com/reports?ts=1701293632&sid=929419e7-33ea-4e2f-85f0-7d8b7cd5cbd6&s=QXw0OE9%2B1YP8TPJU9X6PRRuEwxV6cjAU37LAa61JJUk%3D",
    "strict-transport-security": "max-age=0; includeSubDomains; preload",
    "via": "1.1 vegur",
    "x-content-type-options": "nosniff",
    "x-download-options": "noopen",
    "x-frame-options": "SAMEORIGIN",
    "x-ms-apihub-cached-response": "true",
    "x-ms-apihub-obo": "false",
    "x-permitted-cross-domain-policies": "none",
    "x-request-id": "72d1822a-8028-4761-8019-9f979b59b95e",
    "x-runtime": "0.007011",
    "x-xss-protection": "1; mode=block"
    }

     

    Body:

    {
    "success": false,
    "message": "An unknown error has occurred on the server, please try again"
    }

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard