azure-search-openai-demo
azure-search-openai-demo copied to clipboard
ERROR: failed running post hooks
Please provide us with the following information:
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
just running azd up command when it gets to xecuting postprovision hook
Any log messages given by the failure
Running "prepdocs.py" Ensuring search index gptkbindex exists Traceback (most recent call last): File "/workspaces/azure-search-openai-demo/./scripts/prepdocs.py", line 299, in
create_search_index() File "/workspaces/azure-search-openai-demo/./scripts/prepdocs.py", line 237, in create_search_index if args.index not in index_client.list_index_names(): File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.9/site-packages/azure/core/paging.py", line 124, in next return next(self._page_iterator) File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.9/site-packages/azure/core/paging.py", line 76, in next self._response = self._get_next(self.continuation_token) File "/workspaces/azure-search-openai-demo/scripts/.venv/lib/python3.9/site-packages/azure/search/documents/indexes/_generated/operations/_indexes_operations.py", line 520, in get_next raise HttpResponseError(response=response, model=error) azure.core.exceptions.HttpResponseError: () Authorization failed. Code: Message: Authorization failed.
ERROR: failed running post hooks: 'postprovision' hook failed with exit code: '1', Path: './scripts/prepdocs.sh'. : exit status 1
Expected/desired behavior
successful deployment
OS and Version?
Windows 11
Versions
22H2
Mention any other details that might be useful
i'm using remote docker
Thanks! We'll be in touch soon.
same error with the _indexes_operations.py", line 520. This is on a mac, running azd from scratch. All resources were deployed successfully.
i tried it and still the same error
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.
same error with the _indexes_operations.py", line 520. This is on a mac, running
azdfrom scratch. All resources were deployed successfully.
hi, did you get in solution?