Constant 401 Error trying to use Bing visual search

Tyler Shubert 5 Reputation points
2023-09-11T17:06:57.26+00:00

Hello Azure community!,

Hope all is well with everyone who reads this!

I'm running into some API issues with bing/bing visual search, that me or anyone else here can figure you...

I had some code to run a bing visual search for like images a few months ago... Going back to it now, I get a 401 error from the API " requests.exceptions.HTTPError: 401 Client Error: Access Denied for url: https://api.bing.microsoft.com/v7.0/images/visualsearch"
figured the API key expired or such... trying with multiple new keys and still getting the same result. I remember having to do it a handful of times the first time before I finally got something that worked. Hoping someone might be able to provide some insight. Thanks!!

Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
160 questions
Bing Visual Search
Bing Visual Search
A Bing service that gives you rich insights to help build compelling image applications on the device of your choice.
25 questions
Bing Custom Search
Bing Custom Search
An easy-to-use, ad-free, commercial-grade search tool that lets you deliver the results you want.
89 questions
{count} vote

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.