Add HTTP status code for $databaseConfig error