Getting 401 while using bing v7 key with customsearch.ai

Rishabh Kumar (XRISKazadm) 1 Reputation point
2021-04-12T08:22:18.457+00:00

86889-image.png
86823-image.png

Getting a 401 in customsearch.ai while making a search request.
I got this message: The Search Operation under Custom Web Search API is not supported with the current subscription key and pricing tier Bing.Bundle.F1

Any idea how to fix this ?
Thanks

Bing Custom Search
Bing Custom Search
An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want.
78 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,321 Reputation points Microsoft Employee
    2021-04-12T14:02:47.74+00:00

    @Rishabh Kumar (XRISKazadm) I think the error that is caused in this case is because of the bing search resource that is used for this call. Bing resources migrated from cognitive services to bing in october 2020 and if you are using a key of the instance that is created previously such error could be seen. You can try to create a new custom search resource by using the issue paid key option from the screen shot or try out a free trial key if you are eligible. Trying out a new key worked for me because my older resources of bing were under a different pricing plan as the resources were created under cognitive services namespace.

    86993-image.png

    0 comments No comments