I am defining my confluence instance as seen below:
confluence = Confluence(
url="https://wiki.COMPANY.com",
username="MYNAME@company.com",
password="APIKEY")
And when I attempt the code:
content = confluence.get_page_by_id("ID.OF.SOME.PAGE.I.CREATED.AND.PUBLISHED")
I get the following error:
requests.exceptions.HTTPError: 401 Client Error: for url: "PAGE I WANT"
Is this somehow and issue with the code or is it some issue with the permissions of my organization's confluence?
Hi @Cameron Pilla ,
Do you use https://github.com/atlassian-api/atlassian-python-api ?
Please note that for Cloud Confluence the URL will be yoursite.atlassian.net/wiki and for server any domain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.