Could not parse Claude usage: Missing Current session
Since the fix for this issue, now CodexBar is not longer able to load the Claude Code usage with this error:
Could not parse Claude usage: Missing Current session
true, just installed and not working
can confirm this works as a workaround - open Safari or Chrome, log in to https://claude.ai, then check this Augment via web box. restart. all good
That is also not working for me:
I tried this an now getting this
It worked for me with this workaround.
Currently as a workaround you can try these steps:
- Exit CodexBar (you can do
killall CodexBar) - Log out from all browsers (which provider fails)
- Log out from CLI (which provider fails)
- Open CLI of your provider and re-auth with Safari, enter credentials if necessary
- Open Settings -> Privacy & Security -> Full Disk Access, give access to CodexBar
- Open CodexBar
Let CodexBar sync and refresh, it should work, worked for me
Working provider with this workaround: Droid, Claude
https://github.com/steipete/CodexBar/issues/77#issuecomment-3695002256
also encountered the same issue. it resulted in a claude process consuming 100% CPU usage + fans spinning like craycray (which is how I discovered the problem)
Fixed in https://github.com/steipete/CodexBar/pull/85
:-(
tried https://github.com/steipete/CodexBar/issues/62#issuecomment-3695001866 and that did not work
codexbar usage --status --log-level trace
2026-01-07T18:05:44+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Safari cookies: trying /Users/phil/Library/Cookies/Cookies.binarycookies (-1 bytes)
2026-01-07T18:05:44+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Safari cookies: failed to read /Users/phil/Library/Cookies/Cookies.binarycookies: The file “Cookies.binarycookies” couldn’t be opened because there is no such file.
2026-01-07T18:05:44+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Safari cookies: trying /Users/phil/Library/Containers/com.apple.Safari/Data/Library/Cookies/Cookies.binarycookies (40367 bytes)
2026-01-07T18:05:44+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Found sessionKey in Safari
2026-01-07T18:05:44+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Found session key: sk-ant-<redacted>
2026-01-07T18:05:45+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Organizations API status: 200
2026-01-07T18:05:45+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Organization ID: <a correct id redacted>
2026-01-07T18:05:45+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Organization name: phil's Organization
2026-01-07T18:05:45+0000 debug com.steipete.codexbar.claude-usage: [CodexBarCore] [claude-web] Usage API status: 200
Error: Invalid response from Claude API.
Debugging through a proxy I see this response from claude API ttps://claude.ai/api/organizations/
related reddit thread https://www.reddit.com/r/ClaudeAI/comments/1q6ljlq/anthropic_just_silently_got_rid_of_all_the_usage/
"five_hour": null,
"seven_day": null,
"seven_day_oauth_apps": null,
"seven_day_opus": null,
"seven_day_sonnet": null,
"iguana_necktie": null,
"extra_usage": null
}```
I'm experiencing this issue as well. Right now, my claude code status says Could not parse Claude usage: missing session data
I tried the following but it did not work
Currently as a workaround you can try these steps:
- Exit CodexBar (you can do
killall CodexBar)- Log out from all browsers (which provider fails)
- Log out from CLI (which provider fails)
- Open CLI of your provider and re-auth with Safari, enter credentials if necessary
- Open Settings -> Privacy & Security -> Full Disk Access, give access to CodexBar
- Open CodexBar
Let CodexBar sync and refresh, it should work, worked for me
Working provider with this workaround: Droid, Claude
Any ideas @steipete
note, there is a claude issue with reporting usage - https://status.claude.com
yesterday the usage didn't even show up properly in their web ui. i inspected the XHR response and saw the same response as @PhilETaylor . today their web ui works. but codexbar doesn't show usage, alternating between No available fetch strategy for claude. or Could not parse Claude usage: Missing Current session. i'm on 0.17.0 version (currently latest). haven't tried any of above mentioned workarounds yet. my claude data source is set to OAuth API.
Debug ui "probe logs" (i removed the noise):
Safari cookies: trying ~/Library/Cookies/Cookies.binarycookies (-1 bytes)
Safari cookies: failed to read ~/Library/Cookies/Cookies.binarycookies: The file “Cookies.binarycookies” couldn’t be opened because there is no such file.
Safari cookies: trying ~/Library/Containers/com.apple.Safari/Data/Library/Cookies/Cookies.binarycookies (70532 bytes)
strategy=oauth
hasSessionKey=false
hasOAuthCredentials=true
OAuth source selected.
Fetch strategy attempts with Claude selected says claude.oauth (oauth) unavailable.
I know for a fact I have OAuth working. CodexBar isn't picking up on it.
Maybe related to ytd's change to their OAuth...
- context: https://news.ycombinator.com/item?id=46549823
Ok. I overwrote my keychain credentials with a token that only had user:inference scope.
CodexBar needs user:profile scope to fetch usage stats from the API. Fix:
# Delete the limited token from keychain
security delete-generic-password -s "Claude Code-credentials"
# Re-authenticate with regular OAuth
claude
# then type /login and complete browser auth
After that, CodexBar picked up the new token (which has user:profile scope) and usage stats work again.
Still having the issue on my side, Full Disk Access, fixed the problem after I restarted
what @ferologics suggested above worked for me
# Delete the limited token from keychain
security delete-generic-password -s "Claude Code-credentials"
# Logout Claude from CLI
# Re-authenticate with regular OAuth
claude
# then type /login and complete browser auth
@ksingh-scogo @ferologics thanks for the quick fix, that worked for me the first time i tried it 🥇
What would everyone like to be done here? Better messaging? This is a Claude Code CLI issue and our code can just surface the issue.
@ratulsarna better messaging would be great. I'd like to know if the issue is with CodexBar or upstream
Thanks for the report. I’m going to close this as answered. The thread above points to the underlying cause: Claude credentials without the required user:profile scope can make CodexBar unable to fetch usage, and re-authenticating Claude with the normal login flow resolves it for affected users.
The remaining gap here is mostly better messaging about whether the problem is upstream Claude credentials vs CodexBar itself. If this still reproduces on the latest release after re-auth, please open a fresh issue with current version details and the exact error text.