Bedrock rerank 403 — completeAgentRuntimeRequest signing with wrong SigV4 service name
#2294
Closed
msuntharesan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We're currently evaluating Bifrost as a replacement for our LiteLLM setup, and have been very impressed so far. One blocker we've hit involves the Bedrock rerank endpoint.
When calling
POST /v1/rerankwith a Bedrock model, we consistently get:After digging in, the root cause appears to be that
completeAgentRuntimeRequest(introduced in #1694) signs requests with"bedrock-agent-runtime"as the SigV4 service name, whereas AWS requires"bedrock"for all Bedrock endpoints — including agent runtime.completeRequestalready uses"bedrock"correctly.The IAM permission (
bedrock:Rerank) is in place and correct — this is purely a signing issue.All reactions