diff --git a/src/routes/setting/BotConfig/CreateAPIKeyModal.tsx b/src/routes/setting/BotConfig/CreateAPIKeyModal.tsx index 31cf9c5a..bd915be7 100644 --- a/src/routes/setting/BotConfig/CreateAPIKeyModal.tsx +++ b/src/routes/setting/BotConfig/CreateAPIKeyModal.tsx @@ -37,7 +37,9 @@ const CreateAPIKeyModal = ({ closeModal, uid }: Props) => { case 406: toast.error("Invalid Webhook URL!"); break; - + case 409: + toast.error("Name Already Exists!"); + break; default: break; }