Free subsciption always in pending

When a user subscribe to free Visiteur membership they need invitation code. I enter it, and it work but when I click signup I have a message "Sorry, your signup request has failed. Try again.". In the backend the user is in "All users" with (Visitor) membership and pending status.