awslabs / awslabs/agentcore-samples
Amazon Bedrock AgentCore Samples - [Bug] 403 error in example for MCP server
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 30
Description
**Describe the bug**
In mcp server example following the exact steps is getting me an error as follows.
🔄 Initializing MCP session...
Error in post_writer: Client error '403 Forbidden' for url 'https://bedrock-agentcore.us-east-1.amazonaws.com/runtimes/arn%3Aaws%3Abedrock-agentcore%3Aus-east-1%3A536824385237%3Aruntime%2Fmcp_server_ac-4ZCTFo8gFK/invocations?qualifier=DEFAULT'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
**To Reproduce**
Steps to reproduce the behavior (or some version of this):
Followed exact same steps
**Expected behavior**
A clear and concise description of what you expected to happen.
get a list of tools
**Screenshots**
If applicable, add screenshots to help explain your problem.
**! Additional context !**
- Sagemaker Studio Kernel used
- Instance used : on mac and linux
- commit link to the workshop if you're not using the latest
Contributor guide
Assessment
This issue has not been assessed yet.