Skip to content

CLI rejects job ID when checking crawl status #14

@Pipboyguy

Description

@Pipboyguy

Problem

firecrawl crawl <job-id> fails with URL validation error instead of checking job status.

Steps to reproduce

# Start a crawl
firecrawl crawl https://docs.firecrawl.dev --limit 5 -o job.json

# Get job ID from output
cat job.json
# {"success":true,"data":{"jobId":"019c0ed5-126b-7581-90f1-894a349a1e9d",...}}

# Try to check status
firecrawl crawl 019c0ed5-126b-7581-90f1-894a349a1e9d
# Error: URL must have a valid top-level domain or be a valid path

Expected

Should return job status as documented in README:

# Check crawl status
firecrawl crawl <job-id>

Actual

URL validation runs before checking if argument is a job ID.

Environment

  • firecrawl-cli: 1.1.1
  • Node: v22.x
  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions