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
It is not possible to read a User from a PR comment, if the User has type="app_user".
File "/opt/atlassian/pipelines/agent/build/.venv/lib/python3.12/site-packages/atlassian/bitbucket/cloud/common/comments.py", line 34, in user
return User(None, self.get_data("user"), **self._new_session_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/atlassian/pipelines/agent/build/.venv/lib/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 "/opt/atlassian/pipelines/agent/build/.venv/lib/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].
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
It is not possible to read a User from a PR comment, if the User has type="app_user".
The text was updated successfully, but these errors were encountered: