Skip to main content
Log inSign up
Anchor to MarketingActivityUserErrorCode

MarketingActivityUserErrorCode

enum

Possible error codes that can be returned by MarketingActivityUserError.

Anchor to ACTIVITY_NOT_EXTERNALACTIVITY_NOT_EXTERNAL
•

The marketing activity must be an external activity.

Anchor to CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTSCANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS
•

This activity has child activities and thus cannot be deleted. Child activities must be deleted before a parent activity.

Anchor to CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APPCANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP
•

The activity's tactic can not be updated from STOREFRONT_APP.

Anchor to CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APPCANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP
•

The activity's tactic can not be updated to STOREFRONT_APP. This type of tactic can only be specified when creating a new activity.

Anchor to CURRENCY_CODE_MISMATCH_INPUTCURRENCY_CODE_MISMATCH_INPUT
•

All currency codes provided in the input need to match.

•

A mutation can not be ran because a job to delete all external activities has been enqueued, which happens either from calling the marketingActivitiesDeleteAllExternal mutation or as a result of an app uninstall.

Anchor to DELETE_JOB_FAILED_TO_ENQUEUEDELETE_JOB_FAILED_TO_ENQUEUE
•

The job to delete all external activities failed to enqueue.

Anchor to IMMUTABLE_CHANNEL_HANDLEIMMUTABLE_CHANNEL_HANDLE
•

The channel handle value cannot be modified.

Anchor to IMMUTABLE_HIERARCHY_LEVELIMMUTABLE_HIERARCHY_LEVEL
•

The hierarchy level cannot be modified.

•

The parent activity cannot be modified.

Anchor to IMMUTABLE_URL_PARAMETERIMMUTABLE_URL_PARAMETER
•

The URL parameter value cannot be modified.

Anchor to IMMUTABLE_UTM_PARAMETERSIMMUTABLE_UTM_PARAMETERS
•

The UTM parameters cannot be modified.

•

The input value is invalid.

Anchor to INVALID_CHANNEL_HANDLEINVALID_CHANNEL_HANDLE
•

The channel handle is not recognized.

Anchor to INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTSINVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS
•

Either the marketing activity ID or remote ID must be provided for the activity to be deleted.

Anchor to INVALID_DELETE_ENGAGEMENTS_ARGUMENTSINVALID_DELETE_ENGAGEMENTS_ARGUMENTS
•

Either the channel_handle or delete_engagements_for_all_channels must be provided when deleting a marketing engagement.

Anchor to INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTSINVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS
•

Either the marketing activity ID, remote ID, or UTM must be provided.

Anchor to INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSINGINVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING
•

No identifier found. For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.

Anchor to INVALID_MARKETING_ENGAGEMENT_ARGUMENTSINVALID_MARKETING_ENGAGEMENT_ARGUMENTS
•

For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.

•

The remote ID does not correspond to an existing activity.

Anchor to MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCHMARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH
•

The currency codes provided need to match the referenced marketing activity's currency code.

Anchor to MARKETING_ACTIVITY_DOES_NOT_EXISTMARKETING_ACTIVITY_DOES_NOT_EXIST
•

Marketing activity does not exist.

Anchor to MARKETING_EVENT_DOES_NOT_EXISTMARKETING_EVENT_DOES_NOT_EXIST
•

Marketing activity is not valid, the associated marketing event does not exist.

Anchor to NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETERNON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER
•

Non-hierarchical marketing activities must have UTM parameters or a URL parameter value.

•

The input value is already taken.


Was this section helpful?


Was this section helpful?