# ScrapeGraphAI 1.14.0+ SmartScraperGraph fails with pydantic ValidationError: 1 validation error for Generation, text
Since ScrapeGraphAI 1.14.0 (tested on 1.15.0), SmartScraperGraph on OpenAI died in the GenerateAnswer node with: pydantic.v1.error_wrappers.ValidationError: 1 validation error for Generation, text str type expected (type=type_error.str). Updating to the latest langchain did not help, and the reporter suspected a pydantic version mix. The stock OpenAI example reproduced it.
## How to handle it
A contributor traced this to an initialization problem in the graph and fixed it in PR #664. The fix shipped in the 1.19.0 beta line and was confirmed working there (1.19.0-beta10/beta11). If you hit this ValidationError on 1.14.x/1.15.x, upgrade to a release containing the fix (the new beta or later) and SmartScraperGraph runs cleanly again.
Source: https://github.com/ScrapeGraphAI/Scrapegraph-ai/issues/598