Where to look for source of error ErrorResponseException: Operation returned an invalid status code 'PermissionDenied'?

Problem is in function search_images_bing, it implies an endpoint within bing img search API which became obsolete.

Here is an answer to the problem: