Hi,
I've got a simple API hosted on the internet, with no authentication, and a single endpoint which returns a JSON array of objects.
I've managed to create the Custom Connector, and a new Connection, and "Test" it successfully:
Successful Test from the Custom Connectors UI
From my personal computer, I'm able to hit this endpoint with postman, cURL and any web browser.
But when I try to add this connection to a new Power App, I get the following error:
Error message on failure to add connection to new Power App
I don't see any logs in my application server showing that this connection was attempted.
Any ideas?
As a hail-mary attempt, I opened up the network inspector on my browser, and tried adding the connection to a blank canvas app.
There I saw a couple of GET requests to https://api.businessappdiscovery.microsoft.com/api/invoke, which failed with the response:
{"error":{"code":"AuthorizationFailed","message":"A client certificate or authorization header was not provided."}}
I don't know if this is a red herring, but I ended up configuring my web server with SSL, which made no difference. I then added Basic Authentication to my API and configured that in my custom connector.
Again, it worked fine when using the "Test" functionality in the Custom Connector editor, but failed when I tried adding it to the app.
Any and all help would be greatly appreciated 🙏
Bumping for visibility; is there any way to debug or trace what's happening?
Or are there any resources to explain the difference between "testing" a custom connection, and adding it to an app? It seems odd that one would work, but the other would fail.
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
60
stampcoin
48