I get below error, can some body kindly give me a solution for this?
WARNING:llama_index.embeddings.openai.utils:Retrying llama_index.embeddings.openai.base.get_embeddings in 0.8607730008289738 seconds as it raised APIConnectionError: Connection error…
LocalProtocolError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py in map_httpcore_exceptions()
68 try:
—> 69 yield
70 except Exception as exc:
61 frames
LocalProtocolError: Illegal header value b’Bearer ’
The above exception was the direct cause of the following exception:
LocalProtocolError Traceback (most recent call last)
LocalProtocolError: Illegal header value b’Bearer ’
The above exception was the direct cause of the following exception:
APIConnectionError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/openai/_base_client.py in _request(self, cast_to, options, remaining_retries, stream, stream_cls)
984
985 log.debug(“Raising connection error”)
→ 986 raise APIConnectionError(request=request) from err
987
988 log.debug(
APIConnectionError: Connection error.