brute force – Hydra https form post with multiple failure messages

I’m trying to solve a brute force login exercise on PortSwigger academy ( using hydra and I do not know what I’m doing wrong, the below hydra command returns false positives or none at all (depending how I modify the expression)

hydra -L usernames.txt -P passwords.txt target-domain-name https-post-form "/login:username=^USER^&password=^PASS^:Invalid|Incorrect" -v

The website login form gives “Invalid username” or “Invalid password”; therefore my regex expression uses the “Invalid|Incorrect” string as fail message.

What I am doing wrong, can someone help me understand ?