Persistent error message when attempting to use Azure AI Video Indexer API (ARM-managed) - "USER_NOT_SIGNED_IN"
Ewan OToole
15
Reputation points
- I am working on a flow in Logic Apps. Once a video has finished indexing, this flow is triggered. The flow is intended to save the outputs of the Get Prompt Content API (https://api-portal.videoindexer.ai/api-details#api=Operations&operation=Create-Prompt-Content) so that I can embed and use in some LLM activities.
- I have an ARM-managed Azure AI Video Indexer account
- I am generating an access token according to this documentation for ARM-managed accounts, my scope, permissions and video ID are all correct - https://learn.microsoft.com/en-us/rest/api/videoindexer/generate/access-token?view=rest-videoindexer-2024-01-01&tabs=HTTP#generate-accesstoken-for-account-contributor
- The access key is create successfully, and indeed works when using a different API (Get Video Index), but when trying the Create Prompt Content API I receive the following error message:
"ErrorType": "USER_NOT_SIGNED_IN", "Message": "User not found in access token.
- I have checked all of my authorisations as far as I can tell. But If anyone can provided a list of specific things to check as part of a response to this question I would appreciate it.
- I have tried manually sending the API request from the documentation page using "Try It" and get a successful response, but cannot see the different between the two approaches.
- I am certain that the problem is caused by not correctly sending my API key with the URI. That is the only difference I can see.
Sign in to answer