Skip to main content

Build run token mismatch

typehttps://docs.frem.sh/reference/api/errors/build-run-token-mismatch
HTTP status400 Bad Request

What it means

You sent build_run_id, and it does not match the run your token was issued for.

A runner job token already names its run in signed claims. Two sources for one fact is how a mismatch becomes a signed statement, so the request is refused rather than one source silently winning.

What to do

Omit build_run_id. The token already identifies the run, and fremforge takes the run from the token.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/build-run-token-mismatch",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.