Installed iOS profile but cannot authenticate with password fail

Hi,

These are the steps I toke:
1 - Enable 2FA
2 - In the security section of the user settings, generate a new application password
3 - On the iPhone, using Safari, login into the Nextcloud server and download the configuration profile for macOS/iOS
4 - In the iPhone Settings application, Install the downloaded iOS profile
4.1 - The profile installation process requests “Enter your password for the CalDAV Server …” but when entering the application password generated in (2 above) I always get the following error:

The operation couldn't be completed. (DAAccountValidationDomain error 100.)

The log contains these entries:

Error	core	App token login name does not match 

Any help will be appreciated
Thanks