when making a Rovo agent that reviews the blinked bitbucket PR of a ticket and gives a summary, it keeps getting a 401 unauthorised error.
When I go to the chat and do the same thing it works fine. The Studio agents seem to have different permissions somehow even though they both run off my permissions (or the user who runs the agent)
I am not the site admin so I have put a ticket in to ask them to look at permissions but they take a long time to look into this sort of thing and in the mean time I want to confirm if it is a certain permission that needs changing or if the Agent is just not working as intended?
Snippet from converation with Rovo
"The screenshot shows that in Rovo Chat, the agent was able to access Bitbucket — it found a PR from the sgp repository. So the integration is working in Rovo Chat, just not when tested in Studio.
This confirms what was mentioned earlier: Studio's test environment runs with a different auth context than Rovo Chat. The agent itself is configured correctly and is working as intended in Rovo Chat.
No changes are needed to the agent — the retry logic across repos is in place, and it's successfully finding PRs when it has the right permissions (i.e. in Rovo Chat)."