diff --git a/logs_63025895405(2).zip b/logs_63025895405(2).zip new file mode 100644 index 0000000000..6b59f2b1ef Binary files /dev/null and b/logs_63025895405(2).zip differ diff --git a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php index b85a8b30b4..af8b140421 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php @@ -130,9 +130,9 @@ class Create extends CollectionAction $indexes[] = new Document($index); } try { - // passing null in creates only creates the metadata collection - if (!$dbForDatabases->exists(null, Database::METADATA)) { + try { $dbForDatabases->create(); + } catch (DuplicateException) { } $dbForDatabases->createCollection( id: 'database_' . $database->getSequence() . '_collection_' . $collection->getSequence(),