diff --git a/content/400-reference/200-api-reference/250-error-reference.mdx b/content/400-reference/200-api-reference/250-error-reference.mdx index f20a013e1d..2e92d18e80 100644 --- a/content/400-reference/200-api-reference/250-error-reference.mdx +++ b/content/400-reference/200-api-reference/250-error-reference.mdx @@ -90,11 +90,11 @@ Prisma Client throws a `PrismaClientValidationError` exception if validation fai #### P1002 -"The database server at `{database_host}`:`{database_port}` was reached but timed out. Please try again. Please make sure your database server is running at `{database_host}`:`{database_port}`. " +"The database server at `{database_host}`:`{database_port}` was reached but timed out. Please try again. Please make sure your database server is running at `{database_host}`:`{database_port}`. Context: `{context}` " #### P1003 -"Database {database_file_name} does not exist at {database_file_path}" +"Database `{database_file_name}` does not exist at {database_file_path}" "Database `{database_name}.{database_schema_name}` does not exist on the database server at `{database_host}:{database_port}`." @@ -102,7 +102,7 @@ Prisma Client throws a `PrismaClientValidationError` exception if validation fai #### P1008 -"Operations timed out after `{time}`" +"Operations timed out after `{time}`. Context: {context}" #### P1009 @@ -149,9 +149,6 @@ Possible errors: - "Type `{}` is neither a built-in type, nor refers to another model, custom type, or enum." - "Type `{}` is not a built-in type." - "Unexpected token. Expected one of: {}" -- "{}" -- "{}" -- "{}" - "Environment variable not found: {}." - "Expected a {} value, but received {} value `{}`." - "Expected a {} value, but failed while parsing `{}`: {}." @@ -181,6 +178,14 @@ Possible errors: "Server has closed the connection." +#### P1018 + +"{message}" + +#### P1019 + +"{message}" + ### Prisma Client (Query Engine) #### P2000 @@ -295,10 +300,26 @@ Possible errors: "Multiple errors occurred on the database during query execution: {errors}" +#### P2028 + +"Transaction API error: {error}" + +#### P2029 + +"Query parameter limit exceeded error: {message}." + #### P2030 "Cannot find a fulltext index to use for the search, try adding a @@fulltext([Fields...]) to your schema" +#### P2031 + +"Prisma needs to perform transactions, which requires your MongoDB server to be run as a replica set. https://pris.ly/d/mongodb-replica-set" + +#### P2032 + +"Error converting field "{field}" of expected non-nullable type "{expected_type}" found incompatible value of "{found}"." + ### Prisma Migrate (Migration Engine) #### P3000 @@ -375,7 +396,7 @@ Possible errors: #### P3018 -"A migration failed to apply. New migrations can not be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: {migration_name}

Database error code: {database_error_code}

Database error:
{database_error} " +"A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: {migration_name}

Database error code: {database_error_code}

Database error:
{database_error} " #### P3019