Roshan
Roshan

Reputation: 1

Microsoft Cognitive Services Video API call for face detection

I am trying to test the Microsoft Cognitive Video API for face detection, whenever i try the code samples in java, I get access denied error due to subscription key not valid. Though this works in the microsoft provided open testing console. Could someone tell me whether the sample code is correct or something is missing. Thank you for the help in advance

Upvotes: 0

Views: 249

Answers (1)

ALight - MSFT
ALight - MSFT

Reputation: 13

Did you make sure to update the sample code with your subscription key? Also make sure:

  • There are no leading or trailing spaces
  • All characters in the key are lowercase

If neither of these work, can you link me to the exact sample you're using?

Upvotes: 0

Related Questions