Find answers from the community

N
Nobody
Offline, last seen 3 months ago
Joined September 25, 2024
Runnning this code but getting this error, never encountered this before:
OSError: [Errno 98] Address already in use

Code:
from llama_index import download_loader
GoogleDocsReader = download_loader('GoogleDocsReader')
gdoc_ids = ['gdoc_id']
loader = GoogleDocsReader()
documents = loader.load_data(document_ids=gdoc_ids)
1 comment
W
I am trying to load confluence data using ConfluenceReader, i am providing the correct username, password as well as the api key but it is still not able to access it. Kindly help
Code:
%env CONFLUENCE_API_TOKEN=api
%env CONFLUENCE_PASSWORD=pass
%env CONFLUENCE_USERNAME=user
base_url = "https://hi.atlassian.net/wiki"
space_key = "spacekey"
reader = ConfluenceReader(base_url=base_url)
documents = reader.load_data(space_key=space_key, include_attachments=True)

Error:
KeyError: 'message'
During handling of the above exception, another exception occurred:
HTTPError: 403 Client Error: Forbidden for url
1 comment
W