#ACP Session Init Failed
13 messages · Page 1 of 1 (latest)
That usually means this Discord thread is pointing at a normal session key, not an ACP session.
In this same thread, try:
/acp spawn codex --bind here
or replacecodexwith your ACP agent- If it was previously bound and still acts weird, run
/unfocusfirst, then spawn again - If you are spawning from a parent channel into a new thread, make sure
channels.discord.threadBindings.spawnAcpSessions=true
Also, what does openclaw --version show?
If respawning still fails, paste:
openclaw status --all/acp doctor
Docs:
⚠️ Session binding adapter failed to bind target conversation
Tried spawn bind, got this error:
⚠️ Session binding adapter failed to bind target conversation
Ah, that helps. ACP spawn is getting far enough to try the bind, and the binding step is what's failing.
Can you paste these next:
openclaw --version/acp doctoropenclaw status --all
And one quick isolation test:
/acp spawn codex --thread off
If --thread off works, ACP itself is fine and the problem is specifically Discord conversation/thread binding.
Then check these config bits:
channels.discord.threadBindings.enabled: true
- if you want thread-style ACP binds, also
channels.discord.threadBindings.spawnAcpSessions: true
Also worth trying, from inside this thread:
/acp spawn codex --thread here
If that still fails on a current version, I'm honestly suspicious this is a bug in the Discord binding path. Docs:
Version 4.12
Doctor result:
ACP doctor:
configuredBackend: acpx
activeRuntimeSessions: 0
runtimeIdleTtlMs: 7200000
evictedIdleRuntimes: 0
activeTurns: 0
queueDepth: 0
turnLatencyMs: avg=0, max=0
turnCounts: completed=0, failed=0
errorCodes: (none)
registeredBackend: acpx
runtimeDoctor: ok (embedded ACP runtime ready)
runtimeDoctorDetail: agent=codex
runtimeDoctorDetail: command=npx @zed-industries/codex-acp@^0.11.1
runtimeDoctorDetail: cwd=/Users/xxxx/.openclaw/workspace
runtimeDoctorDetail: protocolVersion=1
healthy: yes
capabilities: session/set_config_option, session/set_mode, session/status
Nice, that narrows it down a lot.
Your ACP backend looks healthy, so this does not look like a Codex/acpx problem. It looks like the Discord binding layer.
Two quick notes:
Version 4.12sounds pretty old, if that is really the fullopenclaw --versionoutput. If so, I would update first.- On a healthy/current build,
/acp spawn codex --bind herein a Discord thread should work.
Can you run these next:
- paste the exact full output of
openclaw --version /acp spawn codex --thread off/acp spawn codex --thread hereopenclaw status --all
Also paste your redacted JSON5 for:
channels: {
discord: {
threadBindings: {
enabled: true,
spawnAcpSessions: true,
},
},
}
If --thread off works, but --bind here and --thread here both fail, I’d treat that as a likely Discord binding bug.
If it comes to that, please file it here with the exact version, doctor output, commands tried, and error text:
https://github.com/openclaw/openclaw/issues
Found the issue, I made the bindings.accountId wrong
Nice, that’ll do it. An accountId mismatch in bindings[] can absolutely make the bind path fall over like this.
Glad you caught it 🎉
If this fixed it, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow can index it for the next person.
@unborn galleon Are you broken?