Subscription Draft Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ALREADY_REMOVEDALREADY_
REMOVED This line has already been removed.
- Anchor to BILLING_CYCLE_ABSENTBILLING_
CYCLE_ ABSENT Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit.
- Anchor to BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALIDBILLING_
CYCLE_ CONTRACT_ DRAFT_ BILLING_ POLICY_ INVALID Billing policy cannot be updated for billing cycle contract drafts.
- Anchor to BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALIDBILLING_
CYCLE_ CONTRACT_ DRAFT_ DELIVERY_ POLICY_ INVALID Delivery policy cannot be updated for billing cycle contract drafts.
- Anchor to BILLING_CYCLE_PRESENTBILLING_
CYCLE_ PRESENT Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit.
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to COMMITTEDCOMMITTED
Subscription draft has been already committed.
- Anchor to CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIREDCONCATENATION_
BILLING_ CYCLE_ CONTRACT_ DRAFT_ REQUIRED Contract draft must be a billing cycle contract draft for contract concatenation.
- Anchor to CONCATENATION_UNCOMMITTED_CONTRACT_DRAFTCONCATENATION_
UNCOMMITTED_ CONTRACT_ DRAFT Cannot concatenate a contract draft from subscriptionContractCreate mutation.
- Anchor to CURRENCY_NOT_ENABLEDCURRENCY_
NOT_ ENABLED Currency is not enabled.
- Anchor to CUSTOMER_DOES_NOT_EXISTCUSTOMER_
DOES_ NOT_ EXIST The customer doesn't exist.
- Anchor to CUSTOMER_MISMATCHCUSTOMER_
MISMATCH The payment method customer must be the same as the contract customer.
- Anchor to CUSTOMER_REDACTEDCUSTOMER_
REDACTED Customer is scheduled for redaction or has been redacted.
- Anchor to CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLECYCLE_
DISCOUNTS_ UNIQUE_ AFTER_ CYCLE The after cycle attribute must be unique between cycle discounts.
- Anchor to CYCLE_INDEX_OUT_OF_RANGECYCLE_
INDEX_ OUT_ OF_ RANGE Billing cycle selector cannot select billing cycle outside of index range.
- Anchor to CYCLE_SELECTOR_VALIDATE_ONE_OFCYCLE_
SELECTOR_ VALIDATE_ ONE_ OF Billing cycle selector requires exactly one of index or date to be provided.
- Anchor to CYCLE_START_DATE_OUT_OF_RANGECYCLE_
START_ DATE_ OUT_ OF_ RANGE Billing cycle selector cannot select billing cycle outside of start date range.
- Anchor to DELIVERY_METHOD_REQUIREDDELIVERY_
METHOD_ REQUIRED The delivery method can't be blank if any lines require shipping.
- Anchor to DELIVERY_MUST_BE_MULTIPLE_OF_BILLINGDELIVERY_
MUST_ BE_ MULTIPLE_ OF_ BILLING The delivery policy interval must be a multiple of the billing policy interval.
- Anchor to DUPLICATE_CONCATENATED_CONTRACTSDUPLICATE_
CONCATENATED_ CONTRACTS Concatenated contracts cannot contain duplicate subscription contracts.
- Anchor to EXCEEDED_MAX_CONCATENATED_CONTRACTSEXCEEDED_
MAX_ CONCATENATED_ CONTRACTS Maximum number of concatenated contracts on a billing cycle contract draft exceeded.
- Anchor to GREATER_THANGREATER_
THAN The input value should be greater than the minimum allowed value.
- Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_
THAN_ OR_ EQUAL_ TO The input value should be greater than or equal to the minimum value allowed.
- Anchor to HAS_FUTURE_EDITSHAS_
FUTURE_ EDITS Cannot update a subscription contract with a current or upcoming billing cycle contract edit.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to INVALID_ADJUSTMENT_TYPEINVALID_
ADJUSTMENT_ TYPE The adjustment value must the same type as the adjustment type.
- Anchor to INVALID_ADJUSTMENT_VALUEINVALID_
ADJUSTMENT_ VALUE The adjustment value must be either fixed_value or percentage.
- Anchor to INVALID_BILLING_DATEINVALID_
BILLING_ DATE Next billing date is invalid.
- Anchor to INVALID_LINESINVALID_
LINES Must have at least one line.
- Anchor to INVALID_NOTE_LENGTHINVALID_
NOTE_ LENGTH Note length is too long.
- Anchor to LESS_THANLESS_
THAN The input value should be less than the maximum value allowed.
- Anchor to LESS_THAN_OR_EQUAL_TOLESS_
THAN_ OR_ EQUAL_ TO The input value should be less than or equal to the maximum value allowed.
- Anchor to MISSING_CUSTOMER_PAYMENT_METHODMISSING_
CUSTOMER_ PAYMENT_ METHOD Customer payment method is required.
- Anchor to MISSING_LOCAL_DELIVERY_OPTIONSMISSING_
LOCAL_ DELIVERY_ OPTIONS The local delivery options must be set for local delivery.
- Anchor to NO_ENTITLED_LINESNO_
ENTITLED_ LINES Discount must have at least one entitled line.
- Anchor to NOT_AN_INTEGERNOT_
AN_ INTEGER The value is not an integer.
- Anchor to NOT_IN_RANGENOT_
IN_ RANGE Value is not in range.
- Anchor to PRESENCEPRESENCE
Input value is not present.
- Anchor to SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLESSELLING_
PLAN_ MAX_ CYCLES_ MUST_ BE_ GREATER_ THAN_ MIN_ CYCLES The maximum number of cycles must be greater than the minimum.
- Anchor to STALE_CONTRACTSTALE_
CONTRACT Another operation updated the contract concurrently as the commit was in progress.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
- Anchor to UPCOMING_CYCLE_LIMIT_EXCEEDEDUPCOMING_
CYCLE_ LIMIT_ EXCEEDED Billing cycle selector cannot select upcoming billing cycle past limit.