Sync error while saving activity in Target

Description description

Environment
Adobe Target

Issue

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.

Resolution resolution

Troubleshooting

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 on your own.

Examples of types of sync errors:

  1. Size of HTML Custom offer

  2. Because of URLs, especially the src attribute value in img  html tags

  3. URLs not accessible, restricted, or broken

  4. Property duplication. If this is the case, then try the following:

    1. Delete the property causing issue and create a new property.
    2. Refer to the new property in the activity.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f