Find answers from the community

Updated 3 months ago

I am trying to load confluence data

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
W
1 comment
did you follow this to connect to confluence?
https://llamahub.ai/l/confluence
Add a reply
Sign up and join the conversation on Discord