ErrorResponseException: Operation returned an invalid status code ‘PermissionDenied’
I searched for this error in Microsoft’s Azure site and in Paperspace with no results. So, where would I find information about this error so that I can resolve the problem?
I also have this issue. I was able to download the images when I was on my 7 day free trial. Once I’ve upgraded to pay as you go (still using it for free with the F1 free pricing tier), I’m receiving this error.
It doesn’t seem that anyone is really paying attention to our problems. I’m going to try to think of some way of testing to see exactly what the problem may be because we’re not getting the success code, that “200” value.
Clicking on the url link brings up the following error message:
{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}
I opened my Azure account and tried again with the keys provided there and all fail I assume due to the fact that the endpoint is no longer Cognitive Services. So, I clicked Bing Resources and am not sure how to add that as an endpoint. I assume that we need to add a Bing Resource, correct?
NOTE: I don’t know how to do this yet, when I click Add I get the following error:
Oops!
Could not create the marketplace item
This marketplace item is not available.
Searching https://portal.azure.com/#allservices for Bing Search or Bing Custom Search results in zero results, but there is Bing Resources, so clicking that brings you to the Bing Resources page that when the directions are followed, results in that Oops! message.
Clicking Learn More opens the Azure Cognitive Services page, which we were just told will not provide the Bing Search APIs!
Clicking Documentation opens the Azure Cognitive Services documentation page that now requires me to try to locate any information about using the photo collection as discussed in the fast.ai course.
I will keep looking and document what I’ve tried to prevent others from having to reach these dead ends. Perhaps finding another collection to use is in order, I’ll check that out too.
I had the same issue only in paperspace not in colab. Also search_images_ddg was not working as utils.py was not imported. It worked by adding at the beginning
I’ve re-visited the fast.ai course now that V4 is out. I’ve chosen the Paperspace/Gradient option to host the course material. I’m encountering issues with trying to get the Bing Search API set up.
The Azure portal is significantly different to that shown in the video. Bing API does not appear to exist and be an option available in the Azure portal to set up. The closet I can get to is Azure Cognitive Services and setting up an subscription. I manage to get a key but then I keep getting 401 errors around incorrect API key or end point. I am spending all my time trying to get my environment set up and doing nothing in learning. Any ideas? I’m going back to running Ubuntu server in the cloud otherwise.