serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
45 stars 3 forks source link

[Google Shopping API] Return response faster when there are no results. #1665

Closed hilmanski closed 2 weeks ago

hilmanski commented 3 weeks ago

A customer reported that it took a long time to return the result when searching for a specific query on Google Shopping. After checking, I see that Google Shopping itself didn't return a result for this query. I wonder if we can return faster response with specific message rather than a timeout.

Intercom | Inspect sample | Google Shopping results

marm123 commented 3 weeks ago

I don't think the issue is with Google not providing results for that query, as usually, we return an empty successful search if this is the case. The search should not be timing out and returning an error just because there are no results for the query.

I've opened a separate thread for that: https://github.com/serpapi/public-roadmap/issues/1668

aciddjus commented 2 weeks ago

We have fixed this issue. We will now return an empty results error message instead of timing out.

image

Playground