confluence.add_user_to_group(username, group_name) from Atlassian Python Results in HTTPError

Yangyang Liu December 14, 2022

confluence.add_user_to_group(username, group_name) from Atlassian Python Results in HTTPError

I have executed confluence.add_user_to_group() method from Atlassian Python; however, it results in HTTPError: null for uri: https://confluence.corp.bioagilytix.com/confluence/rest/api/2/group/user?groupname=general-user

The confluence object has been instantiated with the correct login credentials. The user and user group specified are valid. And the method "confluence.get_user_details_by_username(user_name)" works correctly with the same user_name.

Opening the URL "https://confluence.corp.company_name.com/confluence/rest/api/2/group/user?groupname=group_name" returned a 404 status code.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events