FaceAPIException: Access denied due to invalid subscription key error while using FaceServiceClient in Microsoft Cognitive Services

Recently while working with Face API we were getting the below error

To get it working we had to define apiRoot along with the subscriptionkey while initializing the FaceServiceClient object.

Hope it helps..

Advertisements