Site won't accept a password

I’m creating a custom registration form but it’s continually saying there’s a password error.

When I sign up with a new email on my website, it says there’s an error in the password. It doesn’t say what the problem is. I have pattern validation on with the following: ^[+]?([(][0-9]{1,3}[)][-]?)?([0-9][-]?){3,16}[0-9]$! and the password I’m using is a combination of letters, numbers, and symbols. What have I missed?

import { authentication } from 'wix-members';

let emails = [];
let labels = [];  

$w.onReady(function () {
  $w('#register').onClick( () => {
   const password = $w('#password').value;
   const email = $w('#email').value;
   emails.push(email);
    

   let options = {
     contactInfo: {
       firstName: $w('#firstName').value,
       lastName: $w('#lastName').value,
       phone: $w('#phoneNumber').value,
       emails: emails,
       labels: labels,
     },
     privacyStatus: 'PUBLIC'
   }
  
   authentication.register(email, password, options)
     .then((registrationResult) => {
       const status = registrationResult.status;
       console.log('Member registered and logged in:', registrationResult);
     })
     .catch((error) => {
       console.error(error);
     });
  });
});