[Azure Cognitive Services Connector] 401 Access Denied in EmotionRecognition

[Azure Cognitive Services Connector] 401 Access Denied in EmotionRecognition

  
Forge Component
(11)
Published on 2017-07-07 by Daniel Luz
11 votes
Published on 2017-07-07 by Daniel Luz

I get the following error when I use Azure Cognitive Services connector in my mobile app: 401 Access Denied


I am trying to recognize emotion of a person from his/her facial expressions, and this functionality doesn't work for me. I also checked the development cloud for stack trace:

EmotionRecognition
 Error
    at Object.a [as getException] (https://shamli-singh.outsystemscloud.com/Awww/scripts/OutSystems.js?TgkYxm38WdiNZwCb45Sl2w:1:23727)
    at XMLHttpRequest.y.onload (https://shamli-singh.outsystemscloud.com/Awww/scripts/OutSystems.js?TgkYxm38WdiNZwCb45Sl2w:3:4406)


Please help me!

Solution

The API keys need to be set in the connector before using

Solution

Keep in mind: the emotions API is deprecated. It's been moved to the Faces API.

Shamli Singh wrote:

The API keys need to be set in the connector before using

Can you please tell me where we have to set that keys, and how to set the keys