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

Sudden crash of .get_group_members() #1474

Open
bbaabemhp opened this issue Nov 25, 2024 · 1 comment
Open

Sudden crash of .get_group_members() #1474

bbaabemhp opened this issue Nov 25, 2024 · 1 comment

Comments

@bbaabemhp
Copy link

bbaabemhp commented Nov 25, 2024

I have a pretty weird problem for the Confluence API.

I have a small script where I will only print the group members of a Confluence group.

It worked since last Friday, but suddenly, I will get an 401 Unauthorized error.

Nothing changed, neither the code nor the token (which expires in 1 year).

import os
from atlassian import Confluence
from dotenv import load_dotenv
load_dotenv()
confluence = Confluence(
        url=os.getenv("CONFLUENCE_BASE_URL"),
        token=os.getenv("CONFLUENCE_TOKEN"),)
batch = confluence.get_group_members(group_name="group_name", start=0, limit=100)

I also tried the authentication with password and username, but nothing worked. It's weird since it suddenly stopped working.

python==3.11
atlassian-python-api==3.41.16
@Spacetown
Copy link
Contributor

Was an update on Confluence side?

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

2 participants