microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.31k stars 838 forks source link

Bing Image Search API connections returning 401 #1021

Open tessmichi opened 4 years ago

tessmichi commented 4 years ago

Describe the bug Existing feature for accessing bing image search is broken and returns 401 in scenarios that had previously worked fine.

To Reproduce Steps to reproduce the behavior:

In Azure

  1. Login to your Azure account
  2. Create a new Azure Bing Search cognitive service resource
  3. Go to keys & endpoints and copy one of the keys into your clipboard

In VoTT

  1. Go to connections, click on + icon to create a new connection
  2. Select Bing Image Search
  3. Paste your API key into the API Key field and also set a query, ex) cat
  4. Save connection
  5. Create a new VoTT project and select the newly created Bing Image search connection
  6. Save the project

Expected behavior You are redirected to the main editing page and you see a list of images from bing image search in the side pane.

Actual You receive an error message Request Failed with status code 401 and no images are loaded into the side pane.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Additional context It may be working with bing image search resources created older than a certain date??

wbreza commented 4 years ago

@tessmichi - Update description with more info.

tfriedel commented 3 years ago

same problem for me