Bitbucket endpoint (/2.0/users/{selected_user}) answers 401


We have recently started using Bitbucket Cloud endpoint /2.0/users/{selected_user}.

Basically this endpoint does not need any scopes and can by used in cli without any auth.

However our app receives 401 for some account id’s. Our app uses atlassian connect and signs http requests by connect JWT (ACE implementaion). Our app fetches user profiles mentioned in pull requests or comments - those users may not be members of a particular workspace on which our app is installed.

How can I discover why my app receives 401 for requests I can curl from CLI without any auth?


1 Like