NGC - DeepStream related issues

I am doing the code assessments for the course “Building Real-Time Video AI Applications” but the API keys for authentication to use NGC services do not work.

Firstly, I checked the API key in NGC| Setup

Then I copied the API key and modified it in the config file of code assessment.

But the API key is not working “Invalid API key”:

image

Can someone fix the problem with the API key and others with the same problem can posted here also.