Found it, my local field mappings were wrong. I was using the username instead of email address.
Enrolment
External Database: External course table not specified.
Eztabaida hau blokeatu da eta beraz aurrerantzean ezingo duzu bertan erantzun.