[Google Search API] Intermittent 503 server error for some searches

Open
#4,643 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
api

Research direction

This is a report about the hosted SerpApi service, not a code fix in the public-roadmap repository, so there is no file to edit. Start by re-running the 100-request loop with no_cache=true on the quoted query and compare the two failing searches against the linked Search Inspect entry to see whether they share a backend or upstream cause. Done means a root cause for the intermittent 503 is identified and either fixed on the service side or documented as retryable behavior.

Written by the indexing model from the issue text.

Description

status: queued type: bug

Some searches I tested result in a 503 error intermittently. An Enterprise customer reported seeing this error.

Example error message:

503 Server Error: Service Unavailable for url: https://serpapi.com/search?engine=google&q=18b4538+Carquest+Oreilly+Auto+parts&google_domain=google.com&gl=us&hl=en&location=Dearborn%2C+Michigan%2C+United+States&device=desktop&no_cache=true&api_key=API_KEY

Repeating this search results in a successful response. I tested this with 100 searches with the same parameters with no_cache set to true and got this error for 2 of them.

Public links: Playground 1

Internal links: Front | Search Inspect 1 - for repeated successful search

Dominant language
No language data
Stars
159
Forks
58
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from serpapi/public-roadmap

All issues in serpapi/public-roadmap

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.