Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while generating response stream: () The request is invalid. Details: Must specify valid information for parsing in the string. (Parameter 'value') #2294

Open
dlafuente1978 opened this issue Jan 22, 2025 · 0 comments

Comments

@dlafuente1978
Copy link

The project is designed to work with rbac permissions. even with. the whole permission set, I'm stuck at this. Response comes from backend, so it is kind of difficult for me to pinpoint what is not working.

ERROR:root:Exception while generating response stream: () The request is invalid. Details: Must specify valid information for parsing in the string. (Parameter 'value') Code: Message: The request is invalid. Details: Must specify valid information for parsing in the string. (Parameter 'value') Traceback (most recent call last): File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/app/backend/app.py", line 203, in format_as_ndjson async for event in r: File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/app/backend/approaches/chatapproach.py", line 72, in run_with_streaming extra_info, chat_coroutine = await self.run_until_final_call( File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/app/backend/approaches/chatreadretrieveread.py", line 139, in run_until_final_call results = await self.search( File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/app/backend/approaches/approach.py", line 177, in search async for page in results.by_page(): File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/.venv/lib/python3.9/site-packages/azure/core/async_paging.py", line 94, in __anext__ self._response = await self._get_next(self.continuation_token) File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/.venv/lib/python3.9/site-packages/azure/search/documents/aio/_paging.py", line 109, in _get_next_cb return await self._client.documents.search_post(search_request=self._initial_query.request, **self._kwargs) File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/.venv/lib/python3.9/site-packages/azure/core/tracing/decorator_async.py", line 105, in wrapper_use_tracer return await func(*args, **kwargs) File "/Users/nico/Documents/Cognativ/POCs/GoDocAI/code/azure-search-openai-demo/.venv/lib/python3.9/site-packages/azure/search/documents/_generated/aio/operations/_documents_operations.py", line 409, in search_post raise HttpResponseError(response=response, model=error) azure.core.exceptions.HttpResponseError: () The request is invalid. Details: Must specify valid information for parsing in the string. (Parameter 'value')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant