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.
This discussion has been locked so you can no longer reply to it.