@stigg/js-client-sdk - v3.101.0

    Enumeration ErrorCode

    error codes

    Index

    Enumeration Members

    AccessDeniedError AccountNotFoundError AddonDependencyMissingError AddonHasToHavePriceError AddonIsCompatibleWithGroup AddonIsCompatibleWithPlan AddonNotFound AddonQuantityExceedsLimitError AddonsNotFound AddonWithDraftCannotBeDeletedError AmountTooLarge ApiKeyExpired ApiKeyHasExpiry ApiKeyNotFound ArchivedCouponCantBeApplied AuthCustomerMismatch AuthCustomerReadonly AuthorizationServiceError AwsMarketplaceIntegrationError AwsMarketplaceIntegrationValidationError BadUserInput BillingIntegrationAlreadyExistsError BillingIntegrationMissing BillingInvoiceStatusError BillingPeriodMissingError CannotAddOverrideEntitlementToPlan CannotArchiveFeatureError CannotArchiveFeatureGroupError CannotArchiveProductError CannotChangeBillingIntegration CannotDeleteCustomerError CannotDeleteDefaultIntegration CannotDeleteFeatureError CannotEditPackageInNonDraftMode CannotRemovePaymentMethodFromCustomerError CannotReportUsageForEntitlementWithMeterError CannotUnarchiveProductError CanNotUpdateEntitlementsFeatureGroup CannotUpdateExpireAtForExpiredCreditGrantError CannotUpdateUnitTransformationError CannotUpsertToPackageThatHasDraft ChangingPayingCustomerIsNotSupportedError CheckoutIsNotSupported CouponNotFound CreditChargeCoexistenceError CreditChargeValidationError CreditGrantAlreadyVoided CreditGrantCannotBeVoided CreditGrantNotFound CustomCurrencyNotFound CustomerAlreadyHaveCustomerCoupon CustomerAlreadyUsesCoupon CustomerHasNoEmailAddress CustomerNoBillingId CustomerNotFound CustomerResourceNotFound DeprecatedEstimateSubscriptionError DowngradeBillingPeriodNotSupportedError DraftAddonCantBeArchived DraftAlreadyExists DraftPlanCantBeArchived DuplicateAddonProvisionedError DuplicatedEntityNotAllowed DuplicateIntegrationNotAllowed DuplicateProductValidationError EditAllowedOnDraftPackageOnlyError EntitlementBelongsToFeatureGroupError EntitlementLimitExceededError EntitlementsMustBelongToSamePackage EntitlementUsageOutOfRangeError EntityIdDifferentFromRefIdError EntityIsArchivedError EnvironmentMissing ExperimentAlreadyRunning ExperimentNotFoundError ExperimentStatusError ExpireAtMustBeLaterThanEffectiveAtError FailedToCreateCheckoutSessionError FailedToImportCustomer FailedToImportSubscriptions FailedToResolveBillingIntegration FeatureConfigurationExceededLimitError FeatureGroupMissingFeaturesError FeatureGroupNotFoundError FeatureNotBelongToFeatureGroupError FeatureNotFound FetchAllCountriesPricesNotAllowed FreePlanCantHaveCompatiblePackageGroupError FutureUpdateNotFound GraphQlAliasesLimitExceeded GraphQlBatchedOperationsLimitExceeded GraphQlUnsupportedDirective HubspotIntegrationError IdentityForbidden ImportAlreadyInProgress ImportSubscriptionsBulkError IncompatibleSubscriptionAddon InitStripePaymentMethodError IntegrationNotFound IntegrationValidationError IntegrityViolation InvalidAddressError InvalidArgumentError InvalidCancellationDate InvalidDoggoSignatureError InvalidEntitlementResetPeriod InvalidMemberDelete InvalidMetadataError InvalidQuantity InvalidSubscriptionStatus InvalidTaxId InvalidUpdatePriceUnitAmountError MemberInvitationError MemberNotFound MergeEnvironmentValidationError MeteringNotAvailableForFeatureType MeterMustBeAssociatedToMeteredFeature MissingBillingInvoiceError MissingEntityIdError MultiSubscriptionCantBeAutoCancellationSourceError NoActiveSubscriptionForCustomer NoDraftOfferFound NoFeatureEntitlementError NoFeatureEntitlementInSubscription NoProductsAvailable ObjectAlreadyBeingUsedByAnotherRequestError OfferAlreadyExists OfferNotFound OperationNotAllowedDuringInProgressExperiment PackageAlreadyPublished PackageGroupMinItemsError PackageGroupNotFound PackagePricingTypeNotSet PaymentMethodNotFoundError PlanCannotBePublishWhenBasePlanIsDraft PlanCannotBePublishWhenCompatibleAddonIsDraft PlanIsUsedAsDefaultStartPlan PlanIsUsedAsDowngradePlan PlanNotFound PlansCircularDependencyError PlanWithChildCantBeDeleted PreparePaymentMethodFormError PriceNotFound ProductNotFoundError ProductNotPublishedError PromotionalEntitlementNotFoundError PromotionCodeCustomerNotFirstPurchase PromotionCodeMaxRedemptionsReached PromotionCodeMinimumAmountNotReached PromotionCodeNotActive PromotionCodeNotForCustomer PromotionCodeNotFound RateLimitExceeded RecalculateEntitlementsError RequiredSsoAuthenticationError ResyncAlreadyInProgress ScheduledMigrationAlreadyExistsError SchedulingAtEndOfBillingPeriod SelectedBillingModelDoesntMatchImportedItemError SingleSubscriptionCantBeAutoCancellationTargetError StripeCustomerIsDeleted StripeError SubscriptionAlreadyCanceledOrExpired SubscriptionAlreadyOnLatestPlanError SubscriptionDoesNotHaveBillingPeriod SubscriptionMustHaveSinglePlanError SubscriptionNoBillingId SubscriptionNotFound TooManyCustomCurrencies TooManySubscriptionsPerCustomer TrialMustBeCancelledImmediately Unauthenticated UnexpectedError UnPublishedPackage UnsupportedFeatureType UnsupportedParameter UnsupportedSubscriptionScheduleType UnsupportedVendorIdentifier UsageMeasurementDiffOutOfRangeError VendorIsNotSupported VersionExceedsMaxValueError WorkflowTriggerNotFound

    Enumeration Members

    AccessDeniedError: "AccessDeniedError"
    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

    AddonsNotFound: "AddonsNotFound"

    Multiple addons not found

    AddonWithDraftCannotBeDeletedError: "AddonWithDraftCannotBeDeletedError"
    AmountTooLarge: "AmountTooLarge"
    ApiKeyExpired: "ApiKeyExpired"

    API key has expired

    ApiKeyHasExpiry: "ApiKeyHasExpiry"

    API key has expiry date set

    ApiKeyNotFound: "ApiKeyNotFound"

    API key not found

    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

    AuthorizationServiceError: "AuthorizationServiceError"

    Authorization service error occurred

    AwsMarketplaceIntegrationError: "AwsMarketplaceIntegrationError"
    AwsMarketplaceIntegrationValidationError: "AwsMarketplaceIntegrationValidationError"
    BadUserInput: "BadUserInput"
    BillingIntegrationAlreadyExistsError: "BillingIntegrationAlreadyExistsError"
    BillingIntegrationMissing: "BillingIntegrationMissing"
    BillingInvoiceStatusError: "BillingInvoiceStatusError"

    Billing invoice status must be open

    BillingPeriodMissingError: "BillingPeriodMissingError"
    CannotAddOverrideEntitlementToPlan: "CannotAddOverrideEntitlementToPlan"

    Cannot add override entitlement to a plan

    CannotArchiveFeatureError: "CannotArchiveFeatureError"
    CannotArchiveFeatureGroupError: "CannotArchiveFeatureGroupError"
    CannotArchiveProductError: "CannotArchiveProductError"

    Cannot archive product

    CannotChangeBillingIntegration: "CannotChangeBillingIntegration"

    Cannot change billing integration at current customer state

    CannotDeleteCustomerError: "CannotDeleteCustomerError"
    CannotDeleteDefaultIntegration: "CannotDeleteDefaultIntegration"

    Deleting the default integration is not allowed

    CannotDeleteFeatureError: "CannotDeleteFeatureError"
    CannotEditPackageInNonDraftMode: "CannotEditPackageInNonDraftMode"
    CannotRemovePaymentMethodFromCustomerError: "CannotRemovePaymentMethodFromCustomerError"
    CannotReportUsageForEntitlementWithMeterError: "CannotReportUsageForEntitlementWithMeterError"
    CannotUnarchiveProductError: "CannotUnarchiveProductError"

    Cannot unarchive product

    CanNotUpdateEntitlementsFeatureGroup: "CanNotUpdateEntitlementsFeatureGroup"

    Cannot update entitlement feature group

    CannotUpdateExpireAtForExpiredCreditGrantError: "CannotUpdateExpireAtForExpiredCreditGrantError"

    Cannot update expireAt for an expired credit grant

    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"
    CreditChargeCoexistenceError: "CreditChargeCoexistenceError"

    Plans with recurring credit charges cannot have other pricing models (FLAT_FEE, USAGE_BASED, MINIMUM_SPEND, or non-credit PER_UNIT). Recurring credit charges must be the only pricing model on the plan.

    CreditChargeValidationError: "CreditChargeValidationError"

    Credit-based plan changes require prorationBehavior NONE and billingCycleAnchor matching the scheduleStrategy (NOW for IMMEDIATE, UNCHANGED for END_OF_BILLING_PERIOD).

    CreditGrantAlreadyVoided: "CreditGrantAlreadyVoided"

    Credit grant already voided

    CreditGrantCannotBeVoided: "CreditGrantCannotBeVoided"
    CreditGrantNotFound: "CreditGrantNotFound"

    Credit grant not found

    CustomCurrencyNotFound: "CustomCurrencyNotFound"

    Custom currency not found

    CustomerAlreadyHaveCustomerCoupon: "CustomerAlreadyHaveCustomerCoupon"
    CustomerAlreadyUsesCoupon: "CustomerAlreadyUsesCoupon"
    CustomerHasNoEmailAddress: "CustomerHasNoEmailAddress"
    CustomerNoBillingId: "CustomerNoBillingId"
    CustomerNotFound: "CustomerNotFound"
    CustomerResourceNotFound: "CustomerResourceNotFound"
    DeprecatedEstimateSubscriptionError: "DeprecatedEstimateSubscriptionError"

    Deprecated estimate subscription error

    DowngradeBillingPeriodNotSupportedError: "DowngradeBillingPeriodNotSupportedError"
    DraftAddonCantBeArchived: "DraftAddonCantBeArchived"

    Draft addon cannot be archived

    DraftAlreadyExists: "DraftAlreadyExists"

    Draft already exists for offer

    DraftPlanCantBeArchived: "DraftPlanCantBeArchived"
    DuplicateAddonProvisionedError: "DuplicateAddonProvisionedError"

    Duplicate addons provisioned error

    DuplicatedEntityNotAllowed: "DuplicatedEntityNotAllowed"
    DuplicateIntegrationNotAllowed: "DuplicateIntegrationNotAllowed"

    Duplicate integration for same non billing vendor identifier not allowed

    DuplicateProductValidationError: "DuplicateProductValidationError"
    EditAllowedOnDraftPackageOnlyError: "EditAllowedOnDraftPackageOnlyError"
    EntitlementBelongsToFeatureGroupError: "EntitlementBelongsToFeatureGroupError"

    Entitlement belongs to feature groups and cannot be deleted

    EntitlementLimitExceededError: "EntitlementLimitExceededError"
    EntitlementsMustBelongToSamePackage: "EntitlementsMustBelongToSamePackage"
    EntitlementUsageOutOfRangeError: "EntitlementUsageOutOfRangeError"
    EntityIdDifferentFromRefIdError: "EntityIdDifferentFromRefIdError"
    EntityIsArchivedError: "EntityIsArchivedError"
    EnvironmentMissing: "EnvironmentMissing"
    ExperimentAlreadyRunning: "ExperimentAlreadyRunning"
    ExperimentNotFoundError: "ExperimentNotFoundError"
    ExperimentStatusError: "ExperimentStatusError"
    ExpireAtMustBeLaterThanEffectiveAtError: "ExpireAtMustBeLaterThanEffectiveAtError"

    field expireAt must be later than effectiveAt for credit grants

    FailedToCreateCheckoutSessionError: "FailedToCreateCheckoutSessionError"
    FailedToImportCustomer: "FailedToImportCustomer"
    FailedToImportSubscriptions: "FailedToImportSubscriptions"

    Failed to import subscriptions

    FailedToResolveBillingIntegration: "FailedToResolveBillingIntegration"

    Failed to resolve billing integration

    FeatureConfigurationExceededLimitError: "FeatureConfigurationExceededLimitError"
    FeatureGroupMissingFeaturesError: "FeatureGroupMissingFeaturesError"

    Feature group is missing required features

    FeatureGroupNotFoundError: "FeatureGroupNotFoundError"
    FeatureNotBelongToFeatureGroupError: "FeatureNotBelongToFeatureGroupError"

    Feature does not belong to the specified feature group

    FeatureNotFound: "FeatureNotFound"
    FetchAllCountriesPricesNotAllowed: "FetchAllCountriesPricesNotAllowed"
    FreePlanCantHaveCompatiblePackageGroupError: "FreePlanCantHaveCompatiblePackageGroupError"

    Free plan can't have compatible package groups error

    FutureUpdateNotFound: "FutureUpdateNotFound"
    GraphQlAliasesLimitExceeded: "GraphQLAliasesLimitExceeded"

    Too many graphql aliases were used in a single request

    GraphQlBatchedOperationsLimitExceeded: "GraphQLBatchedOperationsLimitExceeded"

    Too many batched operations were used in a single request

    GraphQlUnsupportedDirective: "GraphQLUnsupportedDirective"

    Unsupported directive

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

    Missing billing invoice

    MissingEntityIdError: "MissingEntityIdError"
    MultiSubscriptionCantBeAutoCancellationSourceError: "MultiSubscriptionCantBeAutoCancellationSourceError"

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

    NoActiveSubscriptionForCustomer: "NoActiveSubscriptionForCustomer"
    NoDraftOfferFound: "NoDraftOfferFound"

    No draft offer found to publish

    NoFeatureEntitlementError: "NoFeatureEntitlementError"

    This account has no access to the requested feature

    NoFeatureEntitlementInSubscription: "NoFeatureEntitlementInSubscription"
    NoProductsAvailable: "NoProductsAvailable"
    ObjectAlreadyBeingUsedByAnotherRequestError: "ObjectAlreadyBeingUsedByAnotherRequestError"

    The resource is already used by another request

    OfferAlreadyExists: "OfferAlreadyExists"

    Offer already exists

    OfferNotFound: "OfferNotFound"

    Offer not found

    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"
    PlansCircularDependencyError: "PlansCircularDependencyError"
    PlanWithChildCantBeDeleted: "PlanWithChildCantBeDeleted"
    PreparePaymentMethodFormError: "PreparePaymentMethodFormError"
    PriceNotFound: "PriceNotFound"
    ProductNotFoundError: "ProductNotFoundError"
    ProductNotPublishedError: "ProductNotPublishedError"
    PromotionalEntitlementNotFoundError: "PromotionalEntitlementNotFoundError"
    PromotionCodeCustomerNotFirstPurchase: "PromotionCodeCustomerNotFirstPurchase"
    PromotionCodeMaxRedemptionsReached: "PromotionCodeMaxRedemptionsReached"
    PromotionCodeMinimumAmountNotReached: "PromotionCodeMinimumAmountNotReached"
    PromotionCodeNotActive: "PromotionCodeNotActive"
    PromotionCodeNotForCustomer: "PromotionCodeNotForCustomer"
    PromotionCodeNotFound: "PromotionCodeNotFound"
    RateLimitExceeded: "RateLimitExceeded"
    RecalculateEntitlementsError: "RecalculateEntitlementsError"
    RequiredSsoAuthenticationError: "RequiredSsoAuthenticationError"
    ResyncAlreadyInProgress: "ResyncAlreadyInProgress"
    ScheduledMigrationAlreadyExistsError: "ScheduledMigrationAlreadyExistsError"
    SchedulingAtEndOfBillingPeriod: "SchedulingAtEndOfBillingPeriod"
    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"
    SubscriptionMustHaveSinglePlanError: "SubscriptionMustHaveSinglePlanError"
    SubscriptionNoBillingId: "SubscriptionNoBillingId"
    SubscriptionNotFound: "SubscriptionNotFound"
    TooManyCustomCurrencies: "TooManyCustomCurrencies"

    Too many custom currencies

    TooManySubscriptionsPerCustomer: "TooManySubscriptionsPerCustomer"
    TrialMustBeCancelledImmediately: "TrialMustBeCancelledImmediately"
    Unauthenticated: "Unauthenticated"
    UnexpectedError: "UnexpectedError"
    UnPublishedPackage: "UnPublishedPackage"
    UnsupportedFeatureType: "UnsupportedFeatureType"
    UnsupportedParameter: "UnsupportedParameter"

    Unsupported parameter

    UnsupportedSubscriptionScheduleType: "UnsupportedSubscriptionScheduleType"
    UnsupportedVendorIdentifier: "UnsupportedVendorIdentifier"
    UsageMeasurementDiffOutOfRangeError: "UsageMeasurementDiffOutOfRangeError"
    VendorIsNotSupported: "VendorIsNotSupported"
    VersionExceedsMaxValueError: "VersionExceedsMaxValueError"
    WorkflowTriggerNotFound: "WorkflowTriggerNotFound"

    Workflow trigger not found

    MMNEPVFCICPMFPCPTTAAATR