{
  "id": "api/http-400-missing-required-query-parameter",
  "signature": "400 Bad Request: Missing required query parameter 'limit'",
  "signature_zh": "400 错误请求：缺少必需的查询参数 'limit'",
  "regex": "Missing required query parameter",
  "domain": "api",
  "category": "request_error",
  "subcategory": null,
  "root_cause": "The API endpoint requires a specific query parameter that was not included in the request URL.",
  "root_cause_type": "generic",
  "root_cause_zh": "API 端点需要特定的查询参数，但请求 URL 中未包含该参数。",
  "versions": [
    {
      "version": "REST API v1",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "OpenAPI 3.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "FastAPI 0.100+",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Django REST Framework 3.14",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The server parses query parameters from the URL, not headers.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "GET requests typically do not have a body; the server expects the parameter in the URL.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Parameter names are case-sensitive and must match exactly.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Add the missing query parameter to the URL. For example, change /api/items to /api/items?limit=10. In JavaScript: fetch('/api/items?limit=' + limit). In Python requests: requests.get('/api/items', params={'limit': 10})",
      "success_rate": 0.98,
      "how": "Add the missing query parameter to the URL. For example, change /api/items to /api/items?limit=10. In JavaScript: fetch('/api/items?limit=' + limit). In Python requests: requests.get('/api/items', params={'limit': 10})",
      "condition": "",
      "sources": []
    },
    {
      "action": "Check the API documentation for all required parameters. Use a tool like Postman or curl to test the endpoint: curl -X GET 'https://api.example.com/items?limit=10'",
      "success_rate": 0.95,
      "how": "Check the API documentation for all required parameters. Use a tool like Postman or curl to test the endpoint: curl -X GET 'https://api.example.com/items?limit=10'",
      "condition": "",
      "sources": []
    },
    {
      "action": "If using an SDK, verify that the function call includes all required arguments. In some SDKs, the parameter may be optional with a default; check the method signature.",
      "success_rate": 0.9,
      "how": "If using an SDK, verify that the function call includes all required arguments. In some SDKs, the parameter may be optional with a default; check the method signature.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Add the missing query parameter to the URL. For example, change /api/items to /api/items?limit=10. In JavaScript: fetch('/api/items?limit=' + limit). In Python requests: requests.get('/api/items', params={'limit': 10})",
    "Check the API documentation for all required parameters. Use a tool like Postman or curl to test the endpoint: curl -X GET 'https://api.example.com/items?limit=10'",
    "If using an SDK, verify that the function call includes all required arguments. In some SDKs, the parameter may be optional with a default; check the method signature."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2023-09-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}