> ## Documentation Index
> Fetch the complete documentation index at: https://firecrawl-claude-eager-dijkstra-thpbow.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取抓取错误

<Info>
  该 endpoint 记录了未进入本次 crawl `data` 数组的页面：`errors` 表示 Firecrawl 抓取失败的 scrape，`robotsBlocked` 表示被 robots.txt 封禁的 URL。失败的页面不会出现在任何 [crawl status](/zh/api-reference/endpoint/crawl-get) 计数器中，因此这里是唯一能找到它们的地方——但该列表不保证完整，因为部分内部失败类型会在构建响应前被过滤掉。关于如何结合状态计数器来解读这些数据，请参见[执行与结果统计](/zh/features/crawl#execution-and-result-accounting)。
</Info>

> 你是需要 Firecrawl API 密钥的 AI 代理吗？请参见 [firecrawl.dev/agent-onboarding/SKILL.md](https://www.firecrawl.dev/agent-onboarding/SKILL.md) 以获取自动化入门说明。


## OpenAPI

````yaml zh/api-reference/v2-openapi.json GET /crawl/{id}/errors
openapi: 3.0.0
info:
  contact:
    email: support@firecrawl.dev
    name: Firecrawl Support
    url: https://firecrawl.dev/support
  description: 用于与 Firecrawl 服务交互，执行网页抓取和爬取任务的 API。
  title: Firecrawl API
  version: v2
servers:
  - url: https://api.firecrawl.dev/v2
security:
  - bearerAuth: []
paths:
  /crawl/{id}/errors:
    parameters:
      - description: 爬取任务的 ID
        in: path
        name: id
        required: true
        schema:
          format: uuid
          type: string
    get:
      tags:
        - Crawling
      summary: 获取抓取任务的错误详情
      operationId: getCrawlErrors
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrawlErrorsResponseObj'
          description: 成功的响应
        '402':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: Payment required to access this resource.
                    type: string
                type: object
          description: 需要付费
        '429':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: >-
                      Request rate limit exceeded. Please wait and try again
                      later.
                    type: string
                type: object
          description: 请求次数过多
        '500':
          content:
            application/json:
              schema:
                properties:
                  error:
                    example: An unexpected error occurred on the server.
                    type: string
                type: object
          description: 服务器错误
      security:
        - bearerAuth: []
components:
  schemas:
    CrawlErrorsResponseObj:
      properties:
        errors:
          description: 出错的抓取任务和错误详情
          items:
            properties:
              error:
                description: 错误信息
                type: string
              id:
                type: string
              timestamp:
                description: 失败的 ISO 时间戳
                nullable: true
                type: string
              url:
                description: 已抓取 URL
                type: string
            type: object
          type: array
        robotsBlocked:
          description: 尝试抓取但被 robots.txt 阻止的 URL 列表
          items:
            type: string
          type: array
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````