diff --git a/src/Appwrite/Utopia/Response/Model/Error.php b/src/Appwrite/Utopia/Response/Model/Error.php index e12e0bd42c..20c91fa7c0 100644 --- a/src/Appwrite/Utopia/Response/Model/Error.php +++ b/src/Appwrite/Utopia/Response/Model/Error.php @@ -24,8 +24,8 @@ class Error extends Model ]) ->addRule('type', [ 'type' => self::TYPE_STRING, - 'description' => 'Error type.', - 'default' => '', + 'description' => 'Error type. You can learn more about all the error types at https://appwrite.io/docs/error-codes#errorTypes', + 'default' => 'unknown', 'example' => 'not_found', ]) ->addRule('version', [