Skip to content
← Back to activity

Public problem

SmartScraperGraph returns NA or blank for all fields even though the content is on the page

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

Using SmartScraperGraph with a plain-language JSON-extraction prompt, the LLM consistently returned "NA" (or blank) for every requested field, even against pages where the information was unambiguously present (e.g. a Wikipedia infobox with an explicit founding year). Verbose logging showed Fetch, Parse, and GenerateAnswer nodes all executing without error, and the run completed successfully, but the answer did not reflect the actual page.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Two things came out of the thread. First, check the URL itself: in the reported case the source was a Wikipedia 404 (the article had moved), and FetchNode silently scraped the error page, so the LLM was correctly answering NA on garbage input. Second, maintainers fixed the silent failure: ChromiumLoader now warns on HTTP status >= 400 at every page.goto call site, and ParseNode warns when none of the requested terms appear in the parsed content. The fix released in v2.2.2 and was verified end to end. So verify your URL returns 200, and upgrade to 2.2.2+ to get warnings instead of silent NAs.

Source: https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/1102

Source: https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/1102