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 Apps - Connector Development
Unanswered

Custom Connector failing on "Failed to download original Swagger file of the custom connector."

(0) ShareShare
ReportReport
Posted on by 17
I have created a custom connector to check a database health. Very simple request. I have a azure function that uses http triggers to check a cosmos db. I then layered Azure API Management ontop and built the OpenAPI 3.0 spec. From this spec I was building my customer connector. 
 
I have verified that the swagger file is correct and very small. I have also verified that my spec follows the limits from Microsoft in their documentation. Anything helps!
Here is the YAML Open API 3.0 spec:
 
swagger: '2.0'
info:
title: Health Check API
version: '1.0'
description: Simple health check endpoint for testing
host: ***********************
basePath: /echo
schemes:
- https
produces:
- application/json

paths:
/health:
get:
operationId: health-check
summary: Health check
description: Check if the service is running
responses:
'200':
description: Service is healthy
schema:
$ref: '#/definitions/HealthResponse'
'503':
description: Service is unhealthy
schema:
$ref: '#/definitions/HealthResponse'

definitions:
HealthResponse:
type: object
properties:
status:
type: string
description: Health status
timestamp:
type: string
description: Timestamp of health check
database_connected:
type: boolean
description: Database connection status
message:
type: string
description: Additional status message

securityDefinitions:
api_key:
type: apiKey
in: header
name: Ocp-Apim-Subscription-Key

security:
- api_key: []
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    4,082 Super User 2025 Season 2 on at
    Custom Connector failing on "Failed to download original Swagger file of the custom connector."
    If you couldn't figure out the solution, sometimes, recreate it from scratch could solve some odd problems.😉

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics