Access denied due to invalid subscription key

I have recently subscribed to General APIs. I have tried your api-s on your website and it worked fine with my subscription key, so I have tried to use the code samples. I have copied the python code and inserted my Primary key where Ocp-Apim-Subscription-Key is required. I got the following error for every api examples: b'Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription. Section: backend Path: '

You're not signed in. Please sign-in to report an issue or post a comment.