serpapi-common-errors

Featured

Diagnose and fix SerpApi errors: invalid keys, exhausted credits, blocked searches. Use when SerpApi returns errors, empty results, or unexpected status codes. Trigger: "serpapi error", "fix serpapi", "serpapi not working", "serpapi empty results".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SerpApi Common Errors ## Overview Quick reference for SerpApi errors. Check `search_metadata.status` first -- it will be `Success` or `Error`. Error details are in `search_metadata.error` or `error` at the top level. ## Error Reference ### Invalid API Key ```json { "error": "Invalid API key. Your API key should be here: https://serpapi.com/manage-api-key" } ``` **Fix:** Verify key at serpapi.com/manage-api-key. Check env var is loaded. ### Account Disabled / Searches Exhausted ```json { "error": "Your searches for the month have run out. You can upgrade your plan at https://serpapi.com/pricing" } ``` **Fix:** Check usage: `curl "https://serpapi.com/account.json?api_key=$SERPAPI_API_KEY"`. Upgrade plan or wait for monthly reset. ### Missing Required Parameter ```json { "error": "Missing parameter: q. Please provide a search query." } ``` **Fix:** Each engine has different query params. Google/Bing use `q`, YouTube uses `search_query`. ### Google CAPTCHA / Blocked ```json { "search_metadata": { "status": "Error" }, "error": "Google hasn't returned any results for this query." } ``` **Fix:** SerpApi handles CAPTCHAs automatically, but unusual queries or very high volume may trigger blocks. Try different `location` or wait. ### Empty Organic Results (Not an Error) ```python result = client.search(engine="google", q="xyzzy123nonexistent") if not result.get("organic_results"): # Not an error -- query just has no results # Check for answer_box, knowledge_graph, et...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category