bug: role error blocking browser session execution
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with labs/module4/notebooks/5_agentcore_tool_browser.ipynb at cell 13 and inspect the permissions for agentcore-bastion-role. Reproduce the browser request and verify that the StartBrowserSession authorization error is resolved.
Written by the indexing model from the issue text.
Description
Issue 13: role error blocking browser session execution
Where: labs/module4/notebooks/5_agentcore_tool_browser.ipynb | Cell#13
Error:
Received browser tool request: apple watch series 10 price
Tool response: id='tooluse_E1tganzYSGizdwfWfQ_Yew' content=[TextContent(type='text', text="{'messages': [{'role': 'tool', 'content': 'The agent has started a background web search. This may take a moment.'}]}")] isError=False
Error during background browser task: An error occurred (AccessDeniedException) when calling the StartBrowserSession operation: User: arn:aws:sts::625903560744:assumed-role/agentcore-bastion-role/i-0106e64b8d067b836 is not authorized to perform: bedrock-agentcore:StartBrowserSession on resource: arn:aws:bedrock-agentcore:us-east-1:aws:browser/aws.browser.v1 because no identity-based policy allows the bedrock-agentcore:StartBrowserSession action
{
"role": "assistant",
"content": [
{
"type": "text",
"text": "I've started a background search to find the price of the Apple Watch Series 10. Please wait a moment while I retrieve the information."
}
],
"tool_calls": [],
"tool_results": [],
"timestamp": 1767851249.342153
- Dominant language
- Python
- Stars
- 134
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws-samples/sample-agentic-platform
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 3/5 1-2 days Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
aws-samples/sample-agentic-platform#78 · 1 assignee ·
-
aws-samples/sample-agentic-platform#48 · 1 assignee ·
All issues in aws-samples/sample-agentic-platform
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100