by Emma Richardson.
Try turning on full developer debugging and then run the sync again. I just ran into an issue like this and it turned out it was actually a course format of all things that was causing the issue (yes, it made no sense to me either!).
See if it shows up another error. What does the line in the code point to?