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,