I am getting "sync Wrapper is not a function" error message on TriggerOfllineDataSync client action . Why this is so?

Hi Prajakta,

Are you calling the action in an expression? 

That is only possible if the action has the IsFuction property set to true.

Regards,

Daniel

Solution

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 

Solution

Happened to me. Found out the problem. I had deleted the Common\OfflineDataSyncEvents from the Layout, hence, there was no handler for the events

Prajakta Roshankhede wrote:

Hello Daniel,

The issue is resolved. I was using one block which was not required that was the reason, I was getting this error message. 

Thank you so much!! 


Hi there,

I am facing the same issue.

I checked that there is no unused block in my solution.Is there any other reason which can lead to this error.


Thanks !