From df340c0e5bdbd193f363fbd20bb66c0b5812b083 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Tue, 21 May 2024 15:53:38 +0530 Subject: [PATCH] Update code to 400 --- app/config/errors.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/config/errors.php b/app/config/errors.php index fa6c24ecde..a8e34ddd98 100644 --- a/app/config/errors.php +++ b/app/config/errors.php @@ -134,8 +134,7 @@ return [ Exception::USER_COUNT_EXCEEDED => [ 'name' => Exception::USER_COUNT_EXCEEDED, 'description' => 'The current project has exceeded the maximum number of users. Please check your user limit in the Appwrite console.', - 'code' => 501, - 'publish' => false, + 'code' => 400, ], Exception::USER_CONSOLE_COUNT_EXCEEDED => [ 'name' => Exception::USER_CONSOLE_COUNT_EXCEEDED,