API response without message when wrong API key

I just tested with many API endpoint with wrong API key. Other APIs still return with error message

Incorrect API key provided: sk-OQp4t****************************************z5Dx. You can find your API key at https://platform.openai.com/account/api-keys.

But when I tested with completions endpoint and chat completions. they return without message, only error code. Like this

    "error": {
        "message": "",
        "type": "invalid_request_error",
        "param": null,
        "code": "invalid_api_key"

Is there a question here?

What are you hoping to communicate?

Thanks. I just want feedback to OpenAI. Because It is missing error message.

If I’ve understood correctly, I think tuyenlaptrinh is expecting the returned message key to have a descriptive text value.