error/moodle/invalidconfirmdata
The usual reason for this error message is that you have waited too long before clicking the link in the account confirmation email. By default, any unconfirmed accounts are deleted after 7 days.
Thus you should try signing up again, and this time click the link in the account confirmation email straight away!
In Moodle 3.2.0 sites there is a regression resulting in this error message being displayed when a new user with a username containing an underscore (_), hyphen (-), period (.) or at symbol (@) attempts to confirm their account (MDL-57278). The issue is fixed in 3.2.1 onwards.