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:
  • stampcoin Profile Picture
    3,712 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

Featured topics