You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just deployed the accelerator and the execution of scripts\prepdocs.ps1 is failing with this error:
Running "prepdocs.py"
./app/backend/prepdocs.py "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo/data/" --verbose
[12:18:33] INFO Loading azd env from C:\Angel\AI GBB\Azure load_azd_env.py:28
Samples\azure-search-openai-demo.azure\demo-rag.env, which may override existing
environment variables
INFO Connecting to Azure services using the azd credential for tenant prepdocs.py:321
16b3c013-d300-468d-ac64-7eda0820b6d3
INFO Using local files: C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo/data/ prepdocs.py:104
INFO Checking whether search index gptkbindex exists... searchmanager.py:70
Traceback (most recent call last):
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocs.py", line 439, in
loop.run_until_complete(main(ingestion_strategy, setup_index=not args.remove and not args.removeall))
File "C:\Python312\Lib\asyncio\base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocs.py", line 242, in main
await strategy.setup()
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocslib\filestrategy.py", line 81, in setup
await search_manager.create_index()
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocslib\searchmanager.py", line 74, in create_index
if self.search_info.index_name not in [name async for name in search_index_client.list_index_names()]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 142, in anext
return await self.anext()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 145, in anext
self._page = await self._page_iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 94, in anext
self._response = await self._get_next(self.continuation_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\search\documents\indexes_generated\aio\operations_indexes_operations.py", line 291, in get_next
raise HttpResponseError(response=response, model=error)
azure.core.exceptions.HttpResponseError: () Failed to get Azure RBAC authorization decision. Please wait and retry your request later.
Code:
Message: Failed to get Azure RBAC authorization decision. Please wait and retry your request later.
The text was updated successfully, but these errors were encountered:
I haven't seen that error before, I'm hoping it was an intermittent error from the Azure authorization service. Have you tried re-running that script since then?
Hi Pamela,
I've just tested again and it worked. I didn't change anything, just
executing 'azd up' again, and the prepdocs.ps1 with the same documents
worked fine.
Thank you!
El mar, 1 abr 2025 a las 20:06, Pamela Fox ***@***.***>)
escribió:
Hi,
I've just deployed the accelerator and the execution of scripts\prepdocs.ps1 is failing with this error:
Running "prepdocs.py"
./app/backend/prepdocs.py "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo/data/" --verbose
[12:18:33] INFO Loading azd env from C:\Angel\AI GBB\Azure load_azd_env.py:28
Samples\azure-search-openai-demo.azure\demo-rag.env, which may override existing
environment variables
INFO Connecting to Azure services using the azd credential for tenant prepdocs.py:321
16b3c013-d300-468d-ac64-7eda0820b6d3
INFO Using local files: C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo/data/ prepdocs.py:104
INFO Checking whether search index gptkbindex exists... searchmanager.py:70
Traceback (most recent call last):
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocs.py", line 439, in
loop.run_until_complete(main(ingestion_strategy, setup_index=not args.remove and not args.removeall))
File "C:\Python312\Lib\asyncio\base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocs.py", line 242, in main
await strategy.setup()
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocslib\filestrategy.py", line 81, in setup
await search_manager.create_index()
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo\app\backend\prepdocslib\searchmanager.py", line 74, in create_index
if self.search_info.index_name not in [name async for name in search_index_client.list_index_names()]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 142, in anext
return await self.anext()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 145, in anext
self._page = await self._page_iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\core\async_paging.py", line 94, in anext
self._response = await self._get_next(self.continuation_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Angel\AI GBB\Azure Samples\azure-search-openai-demo.venv\Lib\site-packages\azure\search\documents\indexes_generated\aio\operations_indexes_operations.py", line 291, in get_next
raise HttpResponseError(response=response, model=error)
azure.core.exceptions.HttpResponseError: () Failed to get Azure RBAC authorization decision. Please wait and retry your request later.
Code:
Message: Failed to get Azure RBAC authorization decision. Please wait and retry your request later.
The text was updated successfully, but these errors were encountered: