Unable to get video indexer language models

Mikhail Maksimenko 1 Reputation point
2021-06-18T21:16:02.863+00:00

Calling REST API "https://api.videoindexer.ai/westus2/Accounts/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx51a0/Customization/Language?accessToken=xxx".

Getting error: {
"ErrorType": "USER_NOT_ALLOWED",
"Message": "User has no permission on account '850c053b-148c-4309-b53e-1de5b21b51a0'. Trace id: '4da1226e-43b8-40fe-a9e9-cc5b5f1219f0"
}

Able to make other calls, like getting list of videos, get access token etc.

Any ideas?

Thanks.

Azure Cognitive Services
Azure Cognitive Services
A group of Azure artificial intelligence services and cognitive APIs that help build intelligent apps.
1,003 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,106 Reputation points
    2021-06-19T00:49:02.627+00:00

    Hi, it seems you're missing the modelID in your request. The request url should look like this:

    https://api.videoindexer.ai/{location}/Accounts/{accountId}/Customization/Language/{modelId}[?accessToken]