-
Reproducible Example
Issue Description
Expected Behavior Installed Versions Extra Discription Does anyone know where I have gone wrong and how do I fix this? Really appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Answer generated by a 🤖 AnswerI understand that you're encountering an Here's what I suggest you do to troubleshoot this issue:
Please note that this is just one potential solution based on the information you've provided. If you've checked all of these points and the issue persists, it's possible that there might be a bug in the LangChain framework or an issue with the Google Search API itself. If you believe this is a bug that could impact other users, and you're comfortable doing so, you're encouraged to make a pull request with a proposed fix. Lastly, if my suggestion contradicts your experience, I recommend upgrading to the latest version of LangChain to ensure you have all the recent updates and bug fixes. SourcesThis response is meant to be useful, save you time, and share context. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. |
Beta Was this translation helpful? Give feedback.
-
Issue resolved as I got my |
Beta Was this translation helpful? Give feedback.
Answer generated by a 🤖
Answer
I understand that you're encountering an
HttpError
when trying to use theGoogleSearchAPIWrapper
in LangChain. This error typically arises when the HTTP response status is 300 or above, indicating an issue with the request being sent to the Google Search API.Here's what I suggest you do to troubleshoot this issue:
Double-check that your
GOOGLE_CSE_ID
andGOOGLE_API_KEY
are correctly set and have the necessary permissions to access the Google Search API.Confirm that the Google Search API is enabled for your project in the Google Cloud Console.
Investigate if there are any restrictions on your API key or the Custom Search Engine ID that might be preven…