Skip to content

[Bug] Extract job failed #1517

Open
Open
@shammahk

Description

@shammahk

Describe the Bug
When i try to use the extract function on the node sdk, I get this error:

FirecrawlError: Extract job failed. Error: An unexpected error occurred. Please contact [email protected] for help.
at FirecrawlApp.extract ...@mendable[email protected]/node_modules/@mendable/firecrawl-js/dist/index.js:637:13)
statusCode: 500,
details: undefined

To Reproduce
Steps to reproduce the issue:

  1. Configure the environment or settings with 'using the directions in the docs, use try-catch to catch and log the error in the console'
  2. Run the command 'write the code to extract using the app.extract() module, snippet of what i have
    const extractResult = await app.extract([url], { prompt: "Extract all organization and service details for each organization and its services, including every field in the schema", schema: schema, scrapeOptions: { waitFor: 5000, }, });
    '
  3. Observe the error or unexpected output at 'the console'
  4. Log output/error message

Expected Behavior
I expected to be able to extract the data in the url or at the point of failure get a descriptive error message that can help me find out what is going wrong.

Screenshots
If applicable, add screenshots or copies of the command line output to help explain the issue.
FirecrawlError: Extract job failed. Error: An unexpected error occurred. Please contact [email protected] for help. at FirecrawlApp.extract ...@[email protected]/node_modules/@mendable/firecrawl-js/dist/index.js:637:13) statusCode: 500, details: undefined

Environment (please complete the following information):

  • OS: [macOS]
  • Firecrawl Version: [1.24.0]
  • Node.js Version: [20.9]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions