From 7c41723ef355f3d4587edb1e5f04d2924e6ab85b Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Tue, 22 Apr 2025 19:32:47 -0700 Subject: [PATCH] Handle error code 409. --- comfy_api_nodes/apis/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comfy_api_nodes/apis/client.py b/comfy_api_nodes/apis/client.py index c10ff7017..cd81d5a1d 100644 --- a/comfy_api_nodes/apis/client.py +++ b/comfy_api_nodes/apis/client.py @@ -212,6 +212,8 @@ class ApiClient: error_message = "Unauthorized: Please login first to use this node." if status_code == 402: error_message = "Payment Required: Please add credits to your account to use this node." + if status_code == 409: + error_message = "There is a problem with your account. Please contact support@comfy.org. " if status_code == 429: error_message = "Rate Limit Exceeded: Please try again later." raise Exception(error_message)