Skip to content

Surface Google SERP parse errors instead of returning empty results#133

Closed
matt-greathouse wants to merge 2 commits into
brightdata:mainfrom
gobii-ai:handle-google-serp-errors
Closed

Surface Google SERP parse errors instead of returning empty results#133
matt-greathouse wants to merge 2 commits into
brightdata:mainfrom
gobii-ai:handle-google-serp-errors

Conversation

@matt-greathouse
Copy link
Copy Markdown
Contributor

Unexpected non-JSON responses from Bright Data no longer get converted into empty search results. Instead, single-query calls now fail with a useful error, and batch calls return per-item errors while preserving partial successes.

Returning {"organic":[]} on parse failure made upstream errors look like legitimate empty search results, which hid production issues and made them harder to debug.

meirk-brd added a commit that referenced this pull request Apr 20, 2026
@meirk-brd meirk-brd closed this Apr 20, 2026
meirk-brd added a commit that referenced this pull request Apr 20, 2026
Surface Google SERP parse errors (supersedes #133)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants