[GH-ISSUE #7222] [WebSearch][GooglePSE] Bad request due invalid query-param #14665

Closed
opened 2026-04-19 20:58:26 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @mluksenberg on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7222

Bug Report

When I try to use GooglePSE as web engine for searching, it is returning bad request due the param &num=30 is not allowed by Google. The fix is not add that query-param for that specific engine
Here is an example how it is building the URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}&num=30
And Here is the correct URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}

Originally created by @mluksenberg on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7222 # Bug Report When I try to use GooglePSE as web engine for searching, it is returning bad request due the param &num=30 is not allowed by Google. The fix is not add that query-param for that specific engine Here is an example how it is building the URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}&num=30 And Here is the correct URL: https://www.googleapis.com/customsearch/v1?cx={iD}&q=Test&key={MYQUEY}
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14665