# HTTP 400：分页令牌已过期或无效

- **ID:** `api/rest-api-pagination-token-expired`
- **领域:** api
- **类别:** request_error
- **验证级别:** ai_generated
- **修复率:** 88%

## 根因

API 请求中使用的分页游标或令牌已过期，或为不同查询上下文生成，导致服务器拒绝。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| REST API v3.0 | active | — | — |
| cursor-based pagination | active | — | — |
| Twitter API v2 | active | — | — |

## 解决方案

1. ```
   Restart pagination from the beginning by omitting the cursor parameter.
   ```
2. ```
   Cache the initial request and re-fetch from scratch if token expires.
   ```

## 无效尝试

- **** — The token is already expired; waiting will not revive it. (90% 失败率)
- **** — Tokens are opaque and server-generated; manual modification breaks integrity checks. (95% 失败率)
- **** — Some APIs do not support offset pagination; this may not be an option. (60% 失败率)
