{'error': 'Authorization header is correct, but the token seems invalid'}

I have configured my API Key with;
Make calls to the serverless Inference API
Make calls to Inference Endpoints

This is for Bert Serverless API ran through CMD, I have python installed ect but are faced with this issue and definitely I have the correct key can anybody advise?

I have spent hours. Help pls