web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cognitive Services (Te...
Power Apps
Unanswered

Cognitive Services (Text Analytics) in Canvas App - Connection Error

(0) ShareShare
ReportReport
Posted on by 4

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:
Error Power Apps.png

 

 

 

*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.

Key.png

 

 

 

 

 

 

 

 

 

 

 

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

 

Categories:
I have the same question (0)
  • Micha1 Profile Picture
    7 on at

    I have the same problem. have you been able to solve it?

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Micha1 

     

    I tested the translator service yesterday. As you said It works well with a console application/Postman using the subscription key.

     

    StalinPonnusamy_3-1634302248059.png

     

    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

     

    StalinPonnusamy_0-1634302146217.png

     

     

    It works fine

    StalinPonnusamy_1-1634302146211.png

     

     

    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.

     

    StalinPonnusamy_2-1634302146128.png

     

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Micha1@Fabian79 


    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

  • Fabian79 Profile Picture
    4 on at

    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

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    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

  • Durga27 Profile Picture
    2 on at

    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.

  • Fabian79 Profile Picture
    4 on at

    Hi @Durga27 ,

    never got it to work 😞

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard