Skip to content

ProviderAdapterProcessError: codex #4292

Description

@tech-savvy-guy

I am using my organization controlled codex with t3 code and I am unable to use it. In the settings, I see myself properly authenticated as my work account:

Image

But when I try to start a new thread I get this error:

Image

Trace below:

ProviderAdapterProcessError: Provider adapter process error (codex) for thread 589a4e73-eac7-4a85-ad81-8503f905c988: failed to load configuration: `approval_policy = "never"` cannot be used because requirements do not allow `sandbox_mode = "danger-full-access"`; Codex would fall back to read-only permissions with approvals disabled. Choose an `approval_policy` based on what you need, such as `on-request`, or choose an allowed sandbox mode.
    at file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:62892:74
    at file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/node_modules/effect/dist/internal/effect.js:1310:96
    at ~effect/Utils/internal (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/node_modules/effect/dist/Utils.js:79:12)
    at startSession (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:76828:59)
    at startSession (definition) (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:39956:30)
    at ensureSessionForThread (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:76908:10)
    at ensureSessionForThread (definition) (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:76765:40)
    at processTurnStartRequested (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:77167:12)
    at processTurnStartRequested (definition) (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:76994:43)
    at processDomainEvent (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:77183:46)
    at processDomainEvent (definition) (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:77151:36) {
  [cause]: CodexAppServerRequestError: failed to load configuration: `approval_policy = "never"` cannot be used because requirements do not allow `sandbox_mode = "danger-full-access"`; Codex would fall back to read-only permissions with approvals disabled. Choose an `approval_policy` based on what you need, such as `on-request`, or choose an allowed sandbox mode.
      at CodexAppServerRequestError.fromProtocolError (file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:44823:10)
      at file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:60636:143
      at file:///C:/Users/<redacted>/AppData/Local/Programs/t3code/resources/app.asar/apps/server/dist/bin.mjs:60629:11 {
    [cause]: Error: failed to load configuration: `approval_policy = "never"` cannot be used because requirements do not allow `sandbox_mode = "danger-full-access"`; Codex would fall back to read-only permissions with approvals disabled. Choose an `approval_policy` based on what you need, such as `on-request`, or choose an allowed sandbox mode.
  }
}

No activity

Activity on this issue will appear here.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions