Anchor to section titled 'undefined'

MarketingActivityUserErrorCode
enum

Possible error codes that can be returned by MarketingActivityUserError.


value-activitynotexternal
ACTIVITY_NOT_EXTERNAL

The marketing activity must be an external activity.

value-cannotdeleteactivitywithchildevents
CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS

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

value-cannotupdatetacticiforiginallystorefrontapp
CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP

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

value-cannotupdatetactictostorefrontapp
CANNOT_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.

value-currencycodemismatchinput
CURRENCY_CODE_MISMATCH_INPUT

All currency codes provided in the input need to match.

value-deletejobenqueued
DELETE_JOB_ENQUEUED

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.

value-deletejobfailedtoenqueue
DELETE_JOB_FAILED_TO_ENQUEUE

The job to delete all external activities failed to enqueue.

value-immutablechannelhandle
IMMUTABLE_CHANNEL_HANDLE

The channel handle value cannot be modified.

value-immutablehierarchylevel
IMMUTABLE_HIERARCHY_LEVEL

The hierarchy level cannot be modified.

value-immutableparentid
IMMUTABLE_PARENT_ID

The parent activity cannot be modified.

value-immutableurlparameter
IMMUTABLE_URL_PARAMETER

The URL parameter value cannot be modified.

value-immutableutmparameters
IMMUTABLE_UTM_PARAMETERS

The UTM parameters cannot be modified.

The input value is invalid.

value-invalidchannelhandle
INVALID_CHANNEL_HANDLE

The channel handle is not recognized.

value-invaliddeleteactivityexternalarguments
INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS

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

value-invaliddeleteengagementsarguments
INVALID_DELETE_ENGAGEMENTS_ARGUMENTS

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

value-invalidmarketingactivityexternalarguments
INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS

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

value-invalidmarketingengagementarguments
INVALID_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.

value-invalidmarketingengagementargumentmissing
INVALID_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.

value-invalidremoteid
INVALID_REMOTE_ID

The remote ID does not correspond to an existing activity.

value-marketingactivitycurrencycodemismatch
MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH

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

value-marketingactivitydoesnotexist
MARKETING_ACTIVITY_DOES_NOT_EXIST

Marketing activity does not exist.

value-marketingeventdoesnotexist
MARKETING_EVENT_DOES_NOT_EXIST

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

value-nonhierarchialrequiresutmurlparameter
NON_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?

The error code.


Was this section helpful?
Map
MarketingActivityUserErrorCode