# GitHub REST API rate_limit resources code_scanning_upload removed

Status: search-observed
Product: GitHub
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/github-rest-api-rate-limit-resources-code-scanning-upload-removed
Machine JSON: https://gitdocs.org/api/fixes/github-rest-api-rate-limit-resources-code-scanning-upload-removed.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

Several historical response shapes are locally plausible; only the selected current API version determines fields, enums, media types, and status codes.

## Fix

```
Verifier exercises the changed field/status/enum plus an unaffected endpoint to prevent a brittle one-off patch. Verify the supported asynchronous/current path and preserve idempotency.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- GitHub REST API rate_limit resources code_scanning_upload removed
- "code_scanning_upload" GitHub
- GitHub REST API rate limit resources response code_scanning_upload
- https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28

## Sources

- GitHub deprecations index: https://github.blog/changelog/type/deprecations/
- GitHub source file or repository reference: https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28
