Hi Areno,
I'd recommend checking under Keys and Endpoint to ensure you are utilizing the correct keys.
Also, I'd recommend checking your code against the examples:
BingWebSearchv7.py
(there are also other language samples as well)
If this is helpful please accept answer.