question

MikhailMaksimenko-3723 avatar image
0 Votes"
MikhailMaksimenko-3723 asked GiftA-MSFT answered

Unable to get video indexer language models

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GiftA-MSFT avatar image
0 Votes"
GiftA-MSFT answered

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]


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.