Repository navigation
Hey, I'm getting a 404 (Request failed) error on FreeBuff #1425
Description
Activity
- addedtype:bugA defect in the code with a reproducible failureA defect in the code with a reproducible failure
on Sep 24, 2026 - addedarea:cliThe Codebuff/Freebuff terminal clientThe Codebuff/Freebuff terminal clientbot:triagedClassified by the community triage botClassified by the community triage botneeds-infoBlocked on the reporter for version, OS, logs, or a reproBlocked on the reporter for version, OS, logs, or a repro
on Sep 24, 2026 Hi @fcuckthenorm 👋 — thanks for the detailed report!
Likely root cause: The 404 (Request Failed) error during search in the CLI almost always occurs when the request is sent without a valid auth token, or when the CLI version being used has a stale API endpoint URL.
A few things to try / confirm:
-
Are you logged in? Run:
freebuff login
Then retry the search. The CLI sends an
authTokenwith every API request; without it the backend returns 404. -
What is your exact CLI version? Please paste the full output of:
freebuff --version
(The issue template shows
freebuff --versionliterally — we need the actual version string.) -
Is this a custom chatbot integration? If you are calling the freebuff CLI programmatically from a chatbot without going through the normal login flow, your process will not have a valid session token, causing the API endpoint to return 404 instead of 401 (the backend treats unauthenticated requests to certain routes as "not found" for security reasons).
Workaround while we investigate: Export your auth token and pass it via environment variable:
export FREEBUFF_AUTH_TOKEN="$(cat ~/.freebuff/token)"
I have opened a PR (#1455) that improves the error message so it clearly says "Authentication required — run
freebuff login" instead of the generic 404, making this much easier to diagnose in the future.Fixes: #1425
-
- addedtype:questionA usage questionA usage questionand removedneeds-infoBlocked on the reporter for version, OS, logs, or a reproBlocked on the reporter for version, OS, logs, or a repro
on Sep 30, 2026
What happened
Hey, I'm getting a 404 (Request failed) error on FreeBuff (the free codeing website online) when my custom chatbot tries to perform a search. Any idea what's causing this?"
Steps to reproduce
Where does this happen?
CLI (terminal client)
Operating system
Linux
Version
freebuff --version
Model
freebuff --version
Logs or screenshots