Error with Sync task


I am getting the following error message in the output:

Traceback (most recent call last):
File “Works_TaskControl::SyncScript”, line 34, in someSynced
AttributeError: ‘NoneType’ object has no attribute ‘SyncMessage’

I am using a lot of sync tasks in my model. Does anyone know what the error means? I have very few Python knowledge and can’t solve it myself

Please don’t create multiple topics about the same issue.

yeah i got confused because my previous post didn’t get approved. Sorry about that.