GR™
05/15/2026, 11:51 PMInvalidAuthentication (401) Request failed with status code: 401 Unauthorized,
{
"error": {
"message": "Incorrect API key provided: $OPENAI_***_KEY. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
Request options: {"model":"gpt-5-mini"}
Based on preliminary testing, changing to a named client from clients.baml (i.e. CustomGPT5Mini) fixes this behavior. You can also just rerun the test from the Playground once it loads to get it working with no changes required. Not sure if this is expected behavior or known bug, figured I'd leave it here anyway.
https://cdn.discordapp.com/attachments/1504994600941785100/1504994601109426306/image.png?ex=6a0902f2&is=6a07b172&hm=a7a3506b9f00d2827300170bafed70d9dcd6193055237c50ab6103f5461daf91&GR™
05/15/2026, 11:51 PMclient CustomGPT5Mini
https://cdn.discordapp.com/attachments/1504994600941785100/1504994769061810236/image.png?ex=6a09031a&is=6a07b19a&hm=9431f3b720d8563954b220638cebf357e8afa2dff57e1e554ad49223c9ba3d90&baml-sam
05/16/2026, 12:23 AM