Enumeration ErrorCode

error codes

Enumeration Members

AccountNotFoundError AddonDependencyMissingError AddonHasToHavePriceError AddonIsCompatibleWithGroup AddonIsCompatibleWithPlan AddonNotFound AddonQuantityExceedsLimitError AddonWithDraftCannotBeDeletedError AddonsNotFound AmountTooLarge ArchivedCouponCantBeApplied AuthCustomerMismatch AuthCustomerReadonly AwsMarketplaceIntegrationError AwsMarketplaceIntegrationValidationError BadUserInput BillingIntegrationAlreadyExistsError BillingIntegrationMissing BillingPeriodMissingError CannotAddOverrideEntitlementToPlan CannotArchiveFeatureError CannotDeleteCustomerError CannotDeleteFeatureError CannotDeleteProductError CannotEditPackageInNonDraftMode CannotRemovePaymentMethodFromCustomerError CannotReportUsageForEntitlementWithMeterError CannotUpdateUnitTransformationError CannotUpsertToPackageThatHasDraft ChangingPayingCustomerIsNotSupportedError CheckoutIsNotSupported CouponNotFound CustomerAlreadyHaveCustomerCoupon CustomerAlreadyUsesCoupon CustomerHasNoEmailAddress CustomerNoBillingId CustomerNotFound CustomerResourceNotFound DowngradeBillingPeriodNotSupportedError DraftAddonCantBeArchived DraftPlanCantBeArchived DuplicateAddonProvisionedError DuplicateProductValidationError DuplicatedEntityNotAllowed EditAllowedOnDraftPackageOnlyError EntitlementLimitExceededError EntitlementUsageOutOfRangeError EntitlementsMustBelongToSamePackage EntityIdDifferentFromRefIdError EntityIsArchivedError EnvironmentMissing ExperimentAlreadyRunning ExperimentNotFoundError ExperimentStatusError FailedToCreateCheckoutSessionError FailedToImportCustomer FeatureNotFound FetchAllCountriesPricesNotAllowed FreePlanCantHaveCompatiblePackageGroupError HubspotIntegrationError IdentityForbidden ImportAlreadyInProgress ImportSubscriptionsBulkError IncompatibleSubscriptionAddon InitStripePaymentMethodError IntegrationNotFound IntegrationValidationError IntegrityViolation InvalidAddressError InvalidArgumentError InvalidCancellationDate InvalidEntitlementResetPeriod InvalidMemberDelete InvalidMetadataError InvalidQuantity InvalidSubscriptionStatus InvalidUpdatePriceUnitAmountError MemberInvitationError MemberNotFound MergeEnvironmentValidationError MeterMustBeAssociatedToMeteredFeature MeteringNotAvailableForFeatureType MissingEntityIdError MissingSubscriptionInvoiceError MultiSubscriptionCantBeAutoCancellationSourceError NoFeatureEntitlementError NoFeatureEntitlementInSubscription NoProductsAvailable OperationNotAllowedDuringInProgressExperiment PackageAlreadyPublished PackageGroupMinItemsError PackageGroupNotFound PackagePricingTypeNotSet PaymentMethodNotFoundError PlanCannotBePublishWhenBasePlanIsDraft PlanCannotBePublishWhenCompatibleAddonIsDraft PlanIsUsedAsDefaultStartPlan PlanIsUsedAsDowngradePlan PlanNotFound PlanWithChildCantBeDeleted PlansCircularDependencyError PreparePaymentMethodFormError PriceNotFound ProductNotFoundError PromotionCodeCustomerNotFirstPurchase PromotionCodeMaxRedemptionsReached PromotionCodeMinimumAmountNotReached PromotionCodeNotActive PromotionCodeNotForCustomer PromotionCodeNotFound PromotionalEntitlementNotFoundError RateLimitExceeded RecalculateEntitlementsError RequiredSsoAuthenticationError ResyncAlreadyInProgress ScheduledMigrationAlreadyExistsError SelectedBillingModelDoesntMatchImportedItemError SingleSubscriptionCantBeAutoCancellationTargetError StripeCustomerIsDeleted StripeError SubscriptionAlreadyCanceledOrExpired SubscriptionAlreadyOnLatestPlanError SubscriptionDoesNotHaveBillingPeriod SubscriptionInvoiceStatusError SubscriptionMustHaveSinglePlanError SubscriptionNoBillingId SubscriptionNotFound TooManySubscriptionsPerCustomer TrialMinDateError TrialMustBeCancelledImmediately UnPublishedPackage Unauthenticated UnexpectedError UnsupportedFeatureType UnsupportedSubscriptionScheduleType UnsupportedVendorIdentifier UsageMeasurementDiffOutOfRangeError

Enumeration Members

AccountNotFoundError: "AccountNotFoundError"
AddonDependencyMissingError: "AddonDependencyMissingError"

Addon dependency missing error

AddonHasToHavePriceError: "AddonHasToHavePriceError"
AddonIsCompatibleWithGroup: "AddonIsCompatibleWithGroup"

Cannot delete an addon that is compatible with an addon group

AddonIsCompatibleWithPlan: "AddonIsCompatibleWithPlan"

Cannot delete an addon that is compatible with a plan

AddonNotFound: "AddonNotFound"
AddonQuantityExceedsLimitError: "AddonQuantityExceedsLimitError"

Addon quantity exceeds limit error

AddonWithDraftCannotBeDeletedError: "AddonWithDraftCannotBeDeletedError"
AddonsNotFound: "AddonsNotFound"

Multiple addons not found

AmountTooLarge: "AmountTooLarge"
ArchivedCouponCantBeApplied: "ArchivedCouponCantBeApplied"
AuthCustomerMismatch: "AuthCustomerMismatch"

The authenticated customer does not match the customer in the request

AuthCustomerReadonly: "AuthCustomerReadonly"

The authenticated customer has read-only permissions and cannot perform this operation

AwsMarketplaceIntegrationError: "AwsMarketplaceIntegrationError"
AwsMarketplaceIntegrationValidationError: "AwsMarketplaceIntegrationValidationError"
BadUserInput: "BadUserInput"
BillingIntegrationAlreadyExistsError: "BillingIntegrationAlreadyExistsError"
BillingIntegrationMissing: "BillingIntegrationMissing"
BillingPeriodMissingError: "BillingPeriodMissingError"
CannotAddOverrideEntitlementToPlan: "CannotAddOverrideEntitlementToPlan"

Cannot add override entitlement to a plan

CannotArchiveFeatureError: "CannotArchiveFeatureError"
CannotDeleteCustomerError: "CannotDeleteCustomerError"
CannotDeleteFeatureError: "CannotDeleteFeatureError"
CannotDeleteProductError: "CannotDeleteProductError"
CannotEditPackageInNonDraftMode: "CannotEditPackageInNonDraftMode"
CannotRemovePaymentMethodFromCustomerError: "CannotRemovePaymentMethodFromCustomerError"
CannotReportUsageForEntitlementWithMeterError: "CannotReportUsageForEntitlementWithMeterError"
CannotUpdateUnitTransformationError: "CannotUpdateUnitTransformationError"

Can not update unit transformation since this feature has connected active subscriptions

CannotUpsertToPackageThatHasDraft: "CannotUpsertToPackageThatHasDraft"
ChangingPayingCustomerIsNotSupportedError: "ChangingPayingCustomerIsNotSupportedError"

Changing paying customer is not supported

CheckoutIsNotSupported: "CheckoutIsNotSupported"
CouponNotFound: "CouponNotFound"
CustomerAlreadyHaveCustomerCoupon: "CustomerAlreadyHaveCustomerCoupon"
CustomerAlreadyUsesCoupon: "CustomerAlreadyUsesCoupon"
CustomerHasNoEmailAddress: "CustomerHasNoEmailAddress"
CustomerNoBillingId: "CustomerNoBillingId"
CustomerNotFound: "CustomerNotFound"
CustomerResourceNotFound: "CustomerResourceNotFound"
DowngradeBillingPeriodNotSupportedError: "DowngradeBillingPeriodNotSupportedError"
DraftAddonCantBeArchived: "DraftAddonCantBeArchived"

Draft addon cannot be archived

DraftPlanCantBeArchived: "DraftPlanCantBeArchived"
DuplicateAddonProvisionedError: "DuplicateAddonProvisionedError"

Duplicate addons provisioned error

DuplicateProductValidationError: "DuplicateProductValidationError"
DuplicatedEntityNotAllowed: "DuplicatedEntityNotAllowed"
EditAllowedOnDraftPackageOnlyError: "EditAllowedOnDraftPackageOnlyError"
EntitlementLimitExceededError: "EntitlementLimitExceededError"
EntitlementUsageOutOfRangeError: "EntitlementUsageOutOfRangeError"
EntitlementsMustBelongToSamePackage: "EntitlementsMustBelongToSamePackage"
EntityIdDifferentFromRefIdError: "EntityIdDifferentFromRefIdError"
EntityIsArchivedError: "EntityIsArchivedError"
EnvironmentMissing: "EnvironmentMissing"
ExperimentAlreadyRunning: "ExperimentAlreadyRunning"
ExperimentNotFoundError: "ExperimentNotFoundError"
ExperimentStatusError: "ExperimentStatusError"
FailedToCreateCheckoutSessionError: "FailedToCreateCheckoutSessionError"
FailedToImportCustomer: "FailedToImportCustomer"
FeatureNotFound: "FeatureNotFound"
FetchAllCountriesPricesNotAllowed: "FetchAllCountriesPricesNotAllowed"
FreePlanCantHaveCompatiblePackageGroupError: "FreePlanCantHaveCompatiblePackageGroupError"

Free plan can't have compatible package groups error

HubspotIntegrationError: "HubspotIntegrationError"
IdentityForbidden: "IdentityForbidden"
ImportAlreadyInProgress: "ImportAlreadyInProgress"
ImportSubscriptionsBulkError: "ImportSubscriptionsBulkError"
IncompatibleSubscriptionAddon: "IncompatibleSubscriptionAddon"
InitStripePaymentMethodError: "InitStripePaymentMethodError"
IntegrationNotFound: "IntegrationNotFound"
IntegrationValidationError: "IntegrationValidationError"
IntegrityViolation: "IntegrityViolation"
InvalidAddressError: "InvalidAddressError"
InvalidArgumentError: "InvalidArgumentError"
InvalidCancellationDate: "InvalidCancellationDate"
InvalidEntitlementResetPeriod: "InvalidEntitlementResetPeriod"
InvalidMemberDelete: "InvalidMemberDelete"
InvalidMetadataError: "InvalidMetadataError"
InvalidQuantity: "InvalidQuantity"
InvalidSubscriptionStatus: "InvalidSubscriptionStatus"
InvalidUpdatePriceUnitAmountError: "InvalidUpdatePriceUnitAmountError"
MemberInvitationError: "MemberInvitationError"
MemberNotFound: "MemberNotFound"
MergeEnvironmentValidationError: "MergeEnvironmentValidationError"
MeterMustBeAssociatedToMeteredFeature: "MeterMustBeAssociatedToMeteredFeature"
MeteringNotAvailableForFeatureType: "MeteringNotAvailableForFeatureType"
MissingEntityIdError: "MissingEntityIdError"
MissingSubscriptionInvoiceError: "MissingSubscriptionInvoiceError"
MultiSubscriptionCantBeAutoCancellationSourceError: "MultiSubscriptionCantBeAutoCancellationSourceError"

Multi subscription product cannot be a source of auto-cancellation rules

NoFeatureEntitlementError: "NoFeatureEntitlementError"

This account has no access to the requested feature

NoFeatureEntitlementInSubscription: "NoFeatureEntitlementInSubscription"
NoProductsAvailable: "NoProductsAvailable"
OperationNotAllowedDuringInProgressExperiment: "OperationNotAllowedDuringInProgressExperiment"
PackageAlreadyPublished: "PackageAlreadyPublished"
PackageGroupMinItemsError: "PackageGroupMinItemsError"

Package group min items error

PackageGroupNotFound: "PackageGroupNotFound"
PackagePricingTypeNotSet: "PackagePricingTypeNotSet"
PaymentMethodNotFoundError: "PaymentMethodNotFoundError"
PlanCannotBePublishWhenBasePlanIsDraft: "PlanCannotBePublishWhenBasePlanIsDraft"
PlanCannotBePublishWhenCompatibleAddonIsDraft: "PlanCannotBePublishWhenCompatibleAddonIsDraft"
PlanIsUsedAsDefaultStartPlan: "PlanIsUsedAsDefaultStartPlan"
PlanIsUsedAsDowngradePlan: "PlanIsUsedAsDowngradePlan"
PlanNotFound: "PlanNotFound"
PlanWithChildCantBeDeleted: "PlanWithChildCantBeDeleted"
PlansCircularDependencyError: "PlansCircularDependencyError"
PreparePaymentMethodFormError: "PreparePaymentMethodFormError"
PriceNotFound: "PriceNotFound"
ProductNotFoundError: "ProductNotFoundError"
PromotionCodeCustomerNotFirstPurchase: "PromotionCodeCustomerNotFirstPurchase"
PromotionCodeMaxRedemptionsReached: "PromotionCodeMaxRedemptionsReached"
PromotionCodeMinimumAmountNotReached: "PromotionCodeMinimumAmountNotReached"
PromotionCodeNotActive: "PromotionCodeNotActive"
PromotionCodeNotForCustomer: "PromotionCodeNotForCustomer"
PromotionCodeNotFound: "PromotionCodeNotFound"
PromotionalEntitlementNotFoundError: "PromotionalEntitlementNotFoundError"
RateLimitExceeded: "RateLimitExceeded"
RecalculateEntitlementsError: "RecalculateEntitlementsError"
RequiredSsoAuthenticationError: "RequiredSsoAuthenticationError"
ResyncAlreadyInProgress: "ResyncAlreadyInProgress"
ScheduledMigrationAlreadyExistsError: "ScheduledMigrationAlreadyExistsError"
SelectedBillingModelDoesntMatchImportedItemError: "SelectedBillingModelDoesntMatchImportedItemError"
SingleSubscriptionCantBeAutoCancellationTargetError: "SingleSubscriptionCantBeAutoCancellationTargetError"

Single subscription product cannot be a target of auto-cancellation rules

StripeCustomerIsDeleted: "StripeCustomerIsDeleted"
StripeError: "StripeError"
SubscriptionAlreadyCanceledOrExpired: "SubscriptionAlreadyCanceledOrExpired"
SubscriptionAlreadyOnLatestPlanError: "SubscriptionAlreadyOnLatestPlanError"
SubscriptionDoesNotHaveBillingPeriod: "SubscriptionDoesNotHaveBillingPeriod"
SubscriptionInvoiceStatusError: "SubscriptionInvoiceStatusError"
SubscriptionMustHaveSinglePlanError: "SubscriptionMustHaveSinglePlanError"
SubscriptionNoBillingId: "SubscriptionNoBillingId"
SubscriptionNotFound: "SubscriptionNotFound"
TooManySubscriptionsPerCustomer: "TooManySubscriptionsPerCustomer"
TrialMinDateError: "TrialMinDateError"
TrialMustBeCancelledImmediately: "TrialMustBeCancelledImmediately"
UnPublishedPackage: "UnPublishedPackage"
Unauthenticated: "Unauthenticated"
UnexpectedError: "UnexpectedError"
UnsupportedFeatureType: "UnsupportedFeatureType"
UnsupportedSubscriptionScheduleType: "UnsupportedSubscriptionScheduleType"
UnsupportedVendorIdentifier: "UnsupportedVendorIdentifier"
UsageMeasurementDiffOutOfRangeError: "UsageMeasurementDiffOutOfRangeError"