I am trying to get the web access tool in my crewai setup, but it keeps throwing the 403 Error for the SerperDevTool. I have provided it the API key, but still it is throwing the same error.
CODE:
search_tool = SerperDevTool()
topic_discovery_agent = Agent(
role="Topic Discovery",
goal="Identify trending topics in {topic}.",
backstory="You are specialized in identifying emerging trends in {topic}.",
tools=[search_tool],
llm=llm,
ERROR:
ERROR: Error making request to Serper API: 403 Client Error: Forbidden for url: https://google.serper.dev/search Response content: b'{"message":"Unauthorized.","statusCode":403}'