The configuration looks correct. Its possible that there is a problem in the transformation script.
One way to troubleshoot would be connect to the synchronization container and watch the logs. You can put in some comments in the script so that you can see where its failing.
Alternatively, you can post your script and we can try to help you.