When creating a Target activity with custom code in it, sometimes a Sync error saying “Unable to Sync the Activity” is received when trying to save the activity.
Below are some examples which have caused sync errors. These are just some examples to try and troubleshoot but in order to identify the cause, it will require you to debug the code yourself.
Size of the HTML Custom offer
Because of URLs, specially the ‘src’ attribute value in img html tags
URLs not accessible or restricted or broken
Property duplication. If this is the case, then try the following:
4.1 Delete the property causing issue and create a new property
4.2 Refer to the new property in the activity