Bing News API Key not working

Mike Taranov 1 Reputation point
2021-04-07T08:37:29.913+00:00

I am trying to use Bing News api v7.
I got the key from Bing resources > name of resource > Keys and Endpoint.

When I try to get information from the endpoint, I am getting this.

HTTPError: 401 Client Error: Access Denied for url: https://api.bing.microsoft.com/v7.0/news/search?q=Microsoft&mkt=en-US

Bing News Search
Bing News Search
A Bing service that supports searching for news and get comprehensive results.
43 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Taranov 1 Reputation point
    2021-04-07T15:57:34.737+00:00

    @romungi-MSFT , thank you. I had to re-create my Bing Search resource to resolve this issue.