Encountering a "502 Server Error: Bad Gateway" when using the TavilyClient for performing search and QnA operations. This issue occurs when making requests to the https://api.tavily.com/search endpoint.
Steps to Reproduce
from tavily import TavilyClient
tavily = TavilyClient(api_key="YOUR_API_KEY")
tavily.qna_search(query="Where does Messi play right now?")
Encountering a "502 Server Error: Bad Gateway" when using the TavilyClient for performing search and QnA operations. This issue occurs when making requests to the https://api.tavily.com/search endpoint.
Steps to Reproduce
from tavily import TavilyClient tavily = TavilyClient(api_key="YOUR_API_KEY") tavily.qna_search(query="Where does Messi play right now?")
Error message: requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://api.tavily.com/search
Plan: Researcher API Limit: 111/1000 requests