I'm trying to create a personnalized API but for the swagger definition I encounter a problem.
My swagger definition is one made by Azure ML.
But when I try to upload, I get this error :
Required property "type" is not present or not a string at JSON path definitions.ExecutionRequest
And it also says there was an error when converting the Swagger file into a WADL file and that the API may not work with the applications.
Is it not possible to use an API from Azure ML in Power Apps ?
Thank you in advance.
If the API you used here is RESTful API, then it should work with PowerApp.
Please take a look at the article below, refering to the "Getting help with Swagger files" part:
To customize your Swagger document to work with PowerApps, see Customize your Swagger definition.
Thanks for your help. I've already read all these before.
This is what I did. When I tried on http://editor.swagger.io/#/ my swagger file from Azure ML, it said : "Processed with no error".
But when I try to insert it in the Power App new personalized API, it doesn't work, and show the same error as above.
So I think I have the right Swagger file but for some reason, Power App refuses to take it...
Do you have any solution ?
Sorry for the double post,
I'm still trying to find a solution to this problem. Apparently PowerApps has troubles to convert the swagger file in .json into a WALD file. So is the problem solvable ? By for example modifying a few lines from the Swagger file ?
I have exactly the same issue. A clean Swagger json directly from Azure ML cannot be loaded into a PowerApps connection and there is very little info to go by to try to maually correct the json. It is unclear if the issue is on the Azure ML side or the PowerApps
Hi all. I am a bit of a newby in Swagger for PowerApps but have managed to solve a few issues when creating custom APIs.
The issues for me were more often in the Responses section of the json file. For example editor.swagger.io accepted the response type "integer" without needing to define the ''format" as well, whereas PowerApps will additionally require a "format" in the case of type "integer", but not in case of type "string". (I found this out by trial and error).
Do you want to share your Swagger json file to see if any of us spot any issues?
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021