Skip to content

Bug: Codex generates incorrect Amazon Bedrock Mantle endpoint #37246

Description

@shobhit-barua

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.730.61639

What subscription do you have?

free

What platform is your computer?

windows x64

What issue are you seeing?

Generated by Codex:
https://bedrock-mantle.ap-south-1.api.aws/openai/v1/responses

unexpected status 401 Unauthorized: The security token included in the request is invalid., url: https://bedrock-mantle.ap-south-1.api.aws/openai/v1/responses, request id: req_cvrakpk7f46eflkscjlacdsxm7xadylrkm3swgweroy2cajbcnma

What steps can reproduce the bug?

model = "openai.gpt-oss-120b"
model_provider = "amazon-bedrock"
model_reasoning_effort = "medium"

[model_providers.amazon-bedrock.aws]
wire_api = "responses"

What is the expected behavior?

Expected by Amazon Bedrock Mantle:

https://bedrock-mantle.ap-south-1.api.aws/v1/responses

As a result, requests fail because the generated endpoint does not match the current Bedrock Mantle API.

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appaws-bedrockIssues related to AWS Bedrock providerbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions