Dispatch session responses not rendering — TypeError: Cannot read properties of undefined (reading 'includes')
Environment
- Claude Desktop v1.1.9310
- macOS 26.3.1 (Tahoe, Apple Silicon)
- VM SDK v2.1.85
Description
Dispatch sessions process user messages successfully (backend logs show cycle_health: 'healthy', turns complete in 4-11s), but responses are not rendered in the UI. Messages appear as sent/read but no response is displayed — neither on macOS Desktop nor on the paired iOS device.
Root cause in logs
~/Library/Logs/Claude/claude.ai-web.log shows a recurring JavaScript error that fires on every turn:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'includes')
This error correlates exactly with each completed Dispatch turn. Additional errors present:
[REACT_QUERY_CLIENT] QueryClient error: Error: ["account_profile"] data is undefined
[REACT_QUERY_CLIENT] QueryClient error: Error: Not found
Steps to reproduce
- Open Claude Desktop → Dispatch tab
- Send any message (from Desktop or paired iPhone)
- Backend processes the message (visible in
main.log:Turn succeeded,cycle_health: 'healthy') - No response rendered in UI
What was tried (none resolved the issue)
- App restart (killall + reopen)
- Logout and re-login (Desktop + iPhone)
- Delete conversation ("Unterhaltung löschen")
- Clear
bridge-state.json(forced new session creation) - Delete and reinstall iPhone Claude app
- Clear all Electron caches (Cache, Code Cache, GPUCache, Local Storage, Session Storage)
- Remove
local-agent-mode-sessionsdirectory
Relevant log excerpts
main.log — turns succeed:
[Result] Turn succeeded for session local_ditto_2acf8485-...
[CycleHealth] Healthy cycle: { cycle_health: 'healthy', seconds_to_outcome: 5 }
claude.ai-web.log — UI crashes on render:
21:18:55 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'includes')
21:20:33 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'includes')
21:21:38 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'includes')
Secondary issue encountered
During debugging, clearing bridge-state.json caused a persistent 409 registration conflict (A Cowork agent is already registered on [hostname]). Server-side registration could not be cleared from Desktop or iPhone — only resolved after deleting and reinstalling the iPhone app. There was no UI affordance to disconnect/deregister the stale registration.
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗