diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 5c11cea689..7518ff74ef 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -19223,8 +19223,13 @@ components: authorized to subscribe to. Only present if `"authorization_errors_fatal": false`. InvalidApiKeyError: allOf: - - $ref: "#/components/schemas/JsonError" - - example: {"msg": "Invalid API key", "result": "error"} + - $ref: "#/components/schemas/CodedError" + - example: + { + "code": "INVALID_API_KEY", + "msg": "Invalid API key", + "result": "error", + } description: | ## Invalid API key