You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the following traceback tells pretty much the whole story here:
File ".../python3.12/site-packages/atlassian/bitbucket/cloud/common/users.py", line 45, in user
return User(None, self.get_data("user"), **self._new_session_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../python3.12/site-packages/atlassian/bitbucket/cloud/common/users.py", line 6, in __init__
super(User, self).__init__(url, *args, data=data, expected_type="user", **kwargs)
File ".../python3.12/site-packages/atlassian/bitbucket/cloud/base.py", line 25, in __init__
raise ValueError(f"Expected type of data is [{expected_type}], got [{self.get_data('type')}].")
ValueError: Expected type of data is [user], got [app_user].
Environment:
Package Version
-------------------- -----------
atlassian-python-api 4.0.4