Hi there,
i am trying to build a demo Power App using Cognitive Services as described here.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/cognitive-services-api
I setup a TextAnalytics Ressource in Azure. Used Postman to test. When I am trying to connect this in Power Apps I get the following message:
*No wadlUrl is specified for this Api. This usually indicates there was an error when converting the Swagger associated with this api to a WADL file.
apiId: /providers/microsoft.powerapps/apis/shared_cognitiveservicestextanalytics*
Used the information from Azure Portal, using copy & paste.
Also i created the ressource in different regions, but that did not help.
Did some searching, but know luck 😞
I really would appriciate some help!
Thanks! Fabian
Hello @Fabian79 .
I'm facing the exact same issue. I have been trying to find the solution since 2 days but haven't found any solution.
Could you help me if you resolved the error.
Thank you.
Hi @Fabian79
As I mentioned, the API key is not working with PowerApps but works with PostMan or console.
For Proof of concept, you don't need to enter an API key to test this. I recommend creating an MS ticket to find the root cause.
Thanks,
Stalin - Learn To Illuminate
Hi There, i still get the same error.
In the tutorial that I linked above it asks for the URL to the Textanalysis and not a patricular Cognitive Service. It is necssary to provide an api key, as it is an mandatory field.
I think the idea of the tutorial is, that you click on the interface to choose the corresponding Service.
ClearCollect( languageInfo, { id: "E393CEB2-56A8-4668-A5EB-A1254E9758F0", countryHint: "US", text: tiTextToAnalyze.Text } );
TextAnalytics.LanguagesV3(languageInfo);
If( chkLanguage.Value=true,
ClearCollect( languageCollect,
TextAnalytics.LanguagesV3(languageInfo).documents.detectedLanguage
)
);
ClearCollect( phrasesInfo, { id: "E393CEB2-56A8-4668-A5EB-A1254E9758F0", language: "en", text: tiTextToAnalyze.Text } );
If( chkPhrases.Value = true,
ClearCollect( phrasesCollect,
TextAnalytics.KeyPhraseV3(phrasesInfo).documents.keyPhrases
)
)
I can access particular Cognitive Services via Postman, that works.
@Micha1, did you get it to work ?
Thanks,
Fabian
Please let us know if anything needs on your post. We can help with this.
Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.
Thanks,
Stalin - Learn To Illuminate
Hi @Micha1
I tested the translator service yesterday. As you said It works well with a console application/Postman using the subscription key.
Looks like the Issue with regions and PowerApps. Find the Article for the Regions Availability.
For Proof of concept, don't need to enter the subscription key
It works fine
If no subscription key is provided, the shared API key will be used, which comes with built-in throttling limits based on the number of characters that are being translated, specifically 55,000 characters per day and 100 requests per minute.
But for the production release, I suggest creating a Microsoft ticket to get the updates whether expected or bug.
I have the same problem. have you been able to solve it?