Raw response for the API Status code 401 for OpenAI

hi guys,

I’ve tried all the troubleshooting for initializing API call on OpenAI.

(restarting the initial API application fill in, clear my browser, revoke old key and create new key. )

I notice that the initialization is not consistent. I keep getting this error message. anyone with similar issue?

There was an issue setting up your call.

Raw response for the API
Status code 401
{
“error”: {
“message”: "Incorrect API key provided: $sk-API Key You can find your API key at OpenAI Platform,
“type”: “invalid_request_error”,
“param”: null,
“code”: “invalid_api_key”
}
}

I had almost the same issue, got the following error message:
There was an issue setting up your call. Raw response for the API Status code 401 {“cod”:401, “message”: “Invalid API key. Please see Frequently Asked Questions - OpenWeatherMap for more info.”}

Need help > APIs