{"version":"2.1.277","anchor":"new-keymintrefusederror-for-api-key-creation-failures","canonical_anchor":"new-keymintrefusederror-for-api-key-creation-failures","heading":"New KeyMintRefusedError for API key creation failures","tier":"notice","area":"Auth","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/new-keymintrefusederror-for-api-key-creation-failures","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New KeyMintRefusedError for API key creation failures\n\nA new error message appears when the server fails to create an API key without explanation\n\n**What**\n\nClaude Code now has a dedicated error, `KeyMintRefusedError`, for when the server refuses to create an API key and doesn't give a readable reason. It shows the message: \"The server did not create an API key and gave no readable reason. If this keeps happening, contact support.\"\n\n**Why**\n\nThis gives a clearer, more specific message when API key creation silently fails, and points you toward contacting support if the problem persists instead of leaving you with an unexplained failure.\n\n- Area: Auth\n- Names: `KeyMintRefusedError`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}