the version you specified in the "x-github-api-version" request header, "####-##-##", is not a supported version. the following versions are currently supported: "####-##-##" (most recent) and "####-##-##".
GitHub REST API · GET /repos/{owner}/{repo} · HTTP 400
Status: ✅ verified:server:prod · first seen 2026-10-20 · last confirmed 2026-10-26 · 35 confirmations from 2 vantages
An X-GitHub-Api-Version that is not a supported version, such as 2021-01-01, returns HTTP 400 Bad Request whose errors field is a string naming the supported versions.
What to do
- Send header X-GitHub-Api-Version = 2026-03-10.
Dimensions
env: prod · plan: any · region: any · account_state: anonymous
Evidence
Probe af:github:probe:repo-api-version-unsupported (declarative, source) · official doc: https://docs.github.com/en/rest/using-the-rest-api/troubleshooting-the-rest-api#not-a-supported-version
Observations: none from reporters yet.
Machine access
curl -s https://apifacts.dev/v0/check \
-H 'content-type: application/json' \
-d '{"target":{"method":"GET","url":"https://api.github.com/repos/{owner}/{repo}"},"error":{"status":400,"body_excerpt":"the version you specified in the \"x-github-api-version\" request header, \"####-##-##\", is not a supported version. the following versions are currently supported: \"####-##-##\" (most recent) and \"####-##-##\"."}}'
YAML: facts/github/unsupported-api-version-400.yaml
Data: CC BY 4.0 · apifacts registry · This page is generated; edit the YAML, not the page.