[Azure Cognitive Services Connector] Problem 401 (DescribeImage from ComputerVisionAPI-Azure Cognitive Services Connector)

Forge Component
(18)
Published on 14 Oct (2 days ago) by Félix Barros
18 votes
Published on 14 Oct (2 days ago) by Félix Barros

Hi everyone!

I tried to use this service (azurecognitiveserviceconnector) but in have problem with a key of computer vision api.

I put the key on the https://xxx.outsystemscloud.com/ServiceCenter/ >espaces >Site Properties from microsoft azure, but the key don´t work.

I get the key from microsoft azure in my free account (7 days) and I can´t integrate it with Outsystems

My aplication is mobile and my flow is:


ReconocerElementos:

and the error in my phone is: 

401: 

aditional, we have problem with parameter "ImageUrl" from the action "DescribeImage"

Is there any manual example of how to integrate Azure recognition in Outsystems?
I could not install azure cognitive samples

Thanks!

Hi Paulo - which region did you create your key? The region you create your key and the region configured in service center for the APIs must match. 

Hello Paulo,

I'm trying to create a mobile app with your use case and I'll share it with you as soon as possible.

Regarding the 401, have you changed the endpoint at service center for computer vision? I can see by your print screen that you are at central US and the connector's default is WestEurope.

Check here if you have 

https://westcentralus.api.cognitive.microsoft.com/vision/v1.0

Finally it worked!

the problem was the default URL. 

Thanks!

I'm glad it worked!

Keep up the good work!