404 Resource Not Found for Microsoft Cognitive API v7 News Search

Ian the Nerd 30 Reputation points
2023-11-14T02:27:48.6266667+00:00

Hello,

I am attempting to use the following endpoint: https://api.cognitive.microsoft.com/bing/v7.0/news/search To do news searches for particular stocks. For example here is a complete URL: https://api.cognitive.microsoft.com/bing/v7.0/news/search?q=Applied+UV+Inc.&count=10&offset=0&mkt=en-us&safeSearch=Moderate I attach the needed "Ocp-Apim-Subscription-Key" header with the associatied API Key. I keep getting a 404 error. I have double checked everything I can think of (active subscription, the key, expiration date) but its all failing. The search worked perfectly back on the 28th of October so I do not understand what is happening now.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,119 questions
Bing News Search
Bing News Search
A Bing service that supports searching for news and get comprehensive results.
51 questions
0 comments No comments
{count} votes

Accepted answer
  1. VasaviLankipalle-MSFT 18,296 Reputation points
    2023-11-14T17:24:38.52+00:00

    Hello @Ian the Nerd , Thanks for using Microsoft Q&A Platform.

    Currently, this might have impacted in your case as well, please follow the documentation:

    Bing Search APIs will transition from Azure Cognitive Services to Azure Marketplace on 31 October 2023.  The existing instances of the Bing Search APIs under Azure Cognitive Services will no longer be supported after 31 October 2023. You can continue to create new instances of Bing Search APIs under the Azure Marketplace. Please read this documentation for more Infromation: https://azure.microsoft.com/en-ca/updates/bing-search-apis-will-transition-from-azure-cognitive-services-to-azure-marketplace-on-31-october-2023/

    There is a similar issue. Kindly review the related thread: https://learn.microsoft.com/en-us/answers/questions/1421100/bing-custom-search-api-is-returning-404

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.