Bing Image Search API Error 401: Permission Denied after upgrading subscription tier to S1

Angela 26 Reputation points
2021-05-14T20:45:00.04+00:00

I'm getting the following error when I try to make a call to the Bing Image Search API:

401 Client Error: Access Denied for url: https://api.bing.microsoft.com/v7.0/images/visualsearch

I know my code is okay because it worked previously. The only thing that changed is that I upgraded my Bing Search subscription from "Free" to the "S1" tier.

I tried regenerated my keys, as well as creating a new resource group. Neither have fixed the issue. Any help would be much appreciated.

Thanks in advance.

Bing Image Search
Bing Image Search
A Bing service that supports searching for images and gets comprehensive results.
44 questions
{count} vote

Accepted answer
  1. svijay-MSFT 5,226 Reputation points Microsoft Employee
    2021-05-18T18:01:24.04+00:00

    @Angela - Thanks for the update. I further investigated at my end. Visual Search Capability is available only at S9.

    When I set up Bing Resources with S1, I encountered the below 401 error with below description

    {"error":{"code":"401","message": "The Visual Search Operation under Visual Search API - v7 is not supported with the current subscription key and pricing tier Bing.Bundle.S1."}}  
    

    Upon further investigation in the pricing details

    97538-image.png

    The Visual Search Feature is available only S9 Instances.

    97642-image.png

    Reference : https://azure.microsoft.com/en-in/pricing/details/cognitive-services/search-api/

    You can also check whether Bing Image Search can meet your requirement - which included in the S1 instances

    97560-image.png

    ---------------------

    Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful