Status codes

This section provides the list of success codes, error codes, and warning codes of the customers resource.

Success Codes

CodeDescription
1000Customer registered successfully.
Customer retrieved successfully.
Subscription updated successfully.
Subscription retrieved successfully.
Customer updated successfully.
Coupons retrieved successfully.
Customer notes added/updated successfully.
Customer notes retrieved successfully.
Customer preferences retrieved successfully.
Customer preferences updated successfully.
Referral statistics retrieved successfully.
1040Customer id change request has submitted successfully.
Referrals are invited successfully.
1061Customer recommendations fetched successfully.
1050Customer recommendations fetched successfully.
1052Transactions fetched successfully.
1300Ticket retrieved successfully.
Ticket added successfully.

Error Codes

CodeDescription
400Input is invalid. Please check request parameters or input xml/json; No identifier provided to get loyalty users.
500All requests failed due to errors. For mobile wrapper API mobile/v2/api/change/email, during GET calls customers who have special characters in their email ID do not work properly if the config CONF_SECURITY_CHECK_ENABLED is not enabled for the respective org.
618Not allowed - customer is marked as fraud.
816Customer not found for organization.
1001Unable to register. Invalid mobile number.
1002Unable to register. Invalid email id.
1003Unable to register. Invalid external id.
1004Failed to populate store.
1006Unable to register. Mobile number is required.
1007Unable to register customer. No valid primary identifier mobile number, email ID, or external ID passed.
1008Unable to register with external id.
1009Unable to add registered customer to MLM.
1010Unable to update loyalty points of the customer.
1011Cannot find customer for provided identifier.
1012Cannot find customer with the provided mobile number/external ID/e-mail ID.
1013Customer is not registered for the loyalty Program.
1014Customer is registered already.
1015No identifier provided to get loyalty users.
1016Unable to register. Email provided already exists for some other user.
1017Provided Custom Field is invalid.
1018Unable to update custom field.
1019Mobile number or external id is required along with the email Id to register.
1020The customer is not registered for loyalty program.
1021Invalid validation code.
1023Unable to register customer to loyalty program.
1024Unable to update customer profile.
1025Mandatory fields are not matching for customer identity update.
1026Count of optional fields match is less than required.
1027Field name provided for verification is invalid.
1028No customer notes are available.
1029Unable to retrieve customer preferences.
1030Unable to update customer preferences.
1031No preferences set for this customer.
1032A customer already exists with the same mobile number.
1033A customer already exists with the same external id.
1034Unable to register. Registration date is not within the allowed past or future date limit.
1035Unable to update few customer preferences.
1036One or more notes could not be added/updated for customer.
1037Unable to add/update customer notes.
1039Unable to register. Email ID is required.
1041Customer id change request failed.
1042Invalid mobile no/email id/external id.
1043Unable to register. Customer’s external id is required.
1044You do not have sufficient permission to view the customer details.
1045No valid identifier (mobile/email) passed for non-loyalty customer.
1046Conversion of loyalty customer to non-loyalty is not allowed.
1047Customer's primary identifier not matching with other identifiers.
1048Customer’s email id is required to convert to loyalty customer.
1049Customer’s external id is required to convert to loyalty customer.
1051No transactions or recommendations found for the customer.
1059Error in customer registration. Email or Mobile is required.
1060Batch limit exceeded.
1062Invalid Test & Control status.
1088Unable to issue points. Please report to capillary support.
1099Unable to fetch tracker data for the customer.
1101Invalid channel type.
1102Invalid priority type.
1103Invalid scope.
1104Invalid identifier or no identifier passed.
1105Multiple scopes are not allowed.
1106Invalid subscription status passed.
1107Invalid campaign id passed.
1108Invalid outbox id passed.
1109Unable to add, update or fetch subscription details.
1150Invalid store ID passed.
1110Unable to update subscription details.
1222Internal error occurred with the referral system.
1202Invalid campaign token.
1203Invalid campaign configured.
1204The customer may not be eligible for the referral program.
1205Unable to find the referrer in the specific campaign.
1206Failed to add referral. Referral type is not supported.
1212Invalid entity type passed.
1213Invalid programId passed in request.
1214startDate is after endDate.
1215{x} cannot be a past date.
1216The date format used for {x} is not supported. Enter the the date in (YYYY-MM-DD) format.
1217Date mentioned is a far future date. {x} cannot be after 100 years from now.
1222Internal error occurred with the referral system.
1301A ticket already exists with the same subject.
1302Ticket registration failed.
1303Ticket subject should not be empty.
8011Invalid source account passed.
8013Customer identifier is invalid. Also check if the parameter identifierName is passed correctly.
8015No customer found with the given identifier.
8045Account id is not passed.
8065No customer found in the given source with the given identifier.
8089Customer not registered for the Loyalty Program.
10001Failed to add customer.
10002Failed to update customer details.
91009Retrieved survivor account for the requested merge victim.
91010Downgrade strategy is not configured.
91020Invalid TILL passed for registration.
91021Invalid attribution TILL passed.
91022Failed to update subscription for {x} channel and priority {y}.
8001Lookup failed, No source passed
8002Lookup failed, No identifiers passed
8003Invalid source passed
8004Add failed, No source passed
8005Add failed, No valid identifiers passed
8006Add failed, Customer already exists with id {0} for same source
8007Update failed, Customer already exists for same source
8008Update failed, Same source different profile found for given identifiers
8009Update failed, Customer not found
8010Invalid communication channel passed
8011Look up, Invalid source passed
8012Get, Invalid source passed
8013Lookup, Invalid identifier passed
8014Error in customer registration: Invalid Primary Id - {0}
8015Customer not found for the given identifiers
8016GET failed, No source passed
8091GET failed, No account id passed
8092GET failed, No identifier type passed
8093GET failed, No identifier value passed
8017Error in customer registration: Invalid registration date
8018Update customer, Conversion from loyalty to non-loyalty not allowed
8019Inference attribute-type must be specified
8020Inference attribute-type is invalid
8021Inference attribute-key is required when attribute-type specified
8022Inference attribute-key is invalid
8023No best-fitting profile found matching {0}.{1}
8024No profile information available to infer from
8025Inferring profile failed
8026Same customer was deleted for PII feature, could not add
8027Customer add for parent without child context not allowed
8028Customer seems is already registered
8065User not found for given source
8066Combine not possible, User id already used in same source
8067Same Customer found in other sources, Merge already done with userId {0}
8084Customer details not sent
8085Invalid org entity passed
8086Status label passed is not valid
8087Card is {0}, not allowed to do any further actions
8088Customer status get failed
8089Customer not registered for the Loyalty Program
8090Unable to create profile as instore profile doesn't exist
8100Offset cannot have value less than 0
8101Limit should be greater than 0
8102Limit cannot be greater than 100
8103Invalid source type, please select values from (UI, API, CAMPAIGN)
8104Invalid input combination, programs and promotionIdentifier both cannot be passed in single request
8105Error fetching promotion data. Verify programs/promotionIdentifier passed.
8106Communication channel type not passed
8107Default customer status label not set
8108Config read failed for CONF_CUSTOMER_DEFAULT_STATUS_ENABLED
8110Error fetching promotion data. Verify the passed promotion Type {0}
8111Error fetching promotion data. Verify the passed scope {0}
8112Invalid startDate. Should be in 'yyyy-MM-dd' format
8113Invalid endDate. Should be in 'yyyy-MM-dd' format
8114Both startDate and endDate should be provided
8115startDate should not be after endDate
8117Invalid sortOn value, should be one of CREATED_DATE, END_DATE, START_DATE, EXPIRY_ON, ISSUAL_DATE
8118Invalid sortBy value, should be one of ASC/DESC
8119Empty or Null customerIds
8120Maximum 100 customerIds can be updated
8121Customer type is non-loyalty
8122Required Identifier missing for barcode generation
8123Barcode generation failed for customer identifier
8124Invalid conf value for CONF_BARCODE_VALUE_IDENTIFIER
8125Invalid promotionStatusForCustomer. It should be one of: AVAILABLE_TO_ENROL, AVAILABLE_TO_EARN, AVAILABLE_TO_REDEEM, EXPIRED
8126Request passed without child org context
8127Invalid source or accountId passed

Warning Codes

Warning CodeDescription
8050Same Customer found in other sources, Combining
8051Same Customer found in other sources, Merging with userId {0}
8052Add customer, Conflicting Customers found
8053Update customer, Conflicting Customers found
8054Account id not passed
8055Invalid email id
8056Invalid mobile
8057Invalid email id in comm channel
8058Invalid mobile in comm channel
8059Pushing customer to Solr failed
8060Pushing customer to subscription queue failed
8061Nps details get failed
8062Points details fetch failed
8063Segmentation details fetch failed
8064External id validation failed
8066Same Customer found in other sources, Merge already done with userId {0}
8068Customer is campaign user
8069Merged customer found
8070No valid change identifiers detected
8071Mobile already attached with this user
8072Email already attached with this user
8073External id already attached with this user
8074Change Failed, Identifier found in multiple sources and userIds
8075Primary identifier not matching with other identifiers
8076Gap details missing
8077Invalid associatedWith passed, attribution not updated
8078No Image passed to be deleted
8079Error in uploading Image
8080Error in deleting image
8081No Image Passed
8082Max image per user is 5
8083Image size is too small
521Multiple actions running for the same customer, Please try after some time
8088Customer status get failed
8090Unable to create profile as instore profile doesn't exist
400Admin user auth not supported for {0}
1053Preferred store specified is not found.
91001Failed to get point details.
91002Failed to get subscription details.
91003Failed to validate.
91004Failed to get segmentation details.
91005{x} is primary identifier and cannot be updated.
91006{x} update is not allowed.
91007Failed to register. {x} already exists for some other user.
91011Customer is already in the lowest slab.
91012Customer is already in the highest slab.
91013Call to Points Engine for tier upgrade criteria has failed {x}.
91014Call to Points Engine for tier renewal criteria has failed {x}.
91015Failed to update extended fields; or field {x} length too long.
91016WECHAT profile is not available for the customer.
91017WEB_ENGAGE profile is not available for the customer.
91018Unable to load WeChat notifications.
91019Unable to load Web Engage notifications.