Magidoc

ErrorCode
Enum

error codes

Possible Values

#

AccessDeniedError

AccountNotFoundError

AddonDependencyMissingError

Addon dependency missing error

AddonHasToHavePriceError

AddonIsCompatibleWithGroup

Cannot delete an addon that is compatible with an addon group

AddonIsCompatibleWithPlan

Cannot delete an addon that is compatible with a plan

AddonNotFound

AddonQuantityExceedsLimitError

Addon quantity exceeds limit error

AddonWithDraftCannotBeDeletedError

AddonsNotFound

Multiple addons not found

AmountTooLarge

ArchivedCouponCantBeApplied

AuthCustomerMismatch

The authenticated customer does not match the customer in the request

AuthCustomerReadonly

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

AwsMarketplaceIntegrationError

AwsMarketplaceIntegrationValidationError

BadUserInput

BillingIntegrationAlreadyExistsError

BillingIntegrationMissing

BillingPeriodMissingError

CannotAddOverrideEntitlementToPlan

Cannot add override entitlement to a plan

CannotArchiveFeatureError

CannotChangeBillingIntegration

Cannot change billing integration at current customer state

CannotDeleteCustomerError

CannotDeleteDefaultIntegration

Deleting the default integration is not allowed

CannotDeleteFeatureError

CannotDeleteProductError

CannotEditPackageInNonDraftMode

CannotRemovePaymentMethodFromCustomerError

CannotReportUsageForEntitlementWithMeterError

CannotUpdateUnitTransformationError

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

CannotUpsertToPackageThatHasDraft

ChangingPayingCustomerIsNotSupportedError

Changing paying customer is not supported

CheckoutIsNotSupported

CouponNotFound

CustomerAlreadyHaveCustomerCoupon

CustomerAlreadyUsesCoupon

CustomerHasNoEmailAddress

CustomerNoBillingId

CustomerNotFound

CustomerResourceNotFound

DowngradeBillingPeriodNotSupportedError

DraftAddonCantBeArchived

Draft addon cannot be archived

DraftPlanCantBeArchived

DuplicateAddonProvisionedError

Duplicate addons provisioned error

DuplicateIntegrationNotAllowed

Duplicate integration for same non billing vendor identifier not allowed

DuplicateProductValidationError

DuplicatedEntityNotAllowed

EditAllowedOnDraftPackageOnlyError

EntitlementLimitExceededError

EntitlementUsageOutOfRangeError

EntitlementsMustBelongToSamePackage

EntityIdDifferentFromRefIdError

EntityIsArchivedError

EnvironmentMissing

ExperimentAlreadyRunning

ExperimentNotFoundError

ExperimentStatusError

FailedToCreateCheckoutSessionError

FailedToImportCustomer

FailedToImportSubscriptions

Failed to import subscriptions

FailedToResolveBillingIntegration

Failed to resolve billing integration

FeatureNotFound

FetchAllCountriesPricesNotAllowed

FreePlanCantHaveCompatiblePackageGroupError

Free plan can't have compatible package groups error

GraphQLAliasesLimitExceeded

Too many graphql aliases were used in a single request

GraphQLBatchedOperationsLimitExceeded

Too many batched operations were used in a single request

GraphQLUnsupportedDirective

Unsupported directive

HubspotIntegrationError

IdentityForbidden

ImportAlreadyInProgress

ImportSubscriptionsBulkError

IncompatibleSubscriptionAddon

InitStripePaymentMethodError

IntegrationNotFound

IntegrationValidationError

IntegrityViolation

InvalidAddressError

InvalidArgumentError

InvalidCancellationDate

InvalidDoggoSignatureError

InvalidEntitlementResetPeriod

InvalidMemberDelete

InvalidMetadataError

InvalidQuantity

InvalidSubscriptionStatus

InvalidUpdatePriceUnitAmountError

MemberInvitationError

MemberNotFound

MergeEnvironmentValidationError

MeterMustBeAssociatedToMeteredFeature

MeteringNotAvailableForFeatureType

MissingEntityIdError

MissingSubscriptionInvoiceError

MultiSubscriptionCantBeAutoCancellationSourceError

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

NoFeatureEntitlementError

This account has no access to the requested feature

NoFeatureEntitlementInSubscription

NoProductsAvailable

OperationNotAllowedDuringInProgressExperiment

PackageAlreadyPublished

PackageGroupMinItemsError

Package group min items error

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

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

StripeCustomerIsDeleted

StripeError

SubscriptionAlreadyCanceledOrExpired

SubscriptionAlreadyOnLatestPlanError

SubscriptionDoesNotHaveBillingPeriod

SubscriptionInvoiceStatusError

SubscriptionMustHaveSinglePlanError

SubscriptionNoBillingId

SubscriptionNotFound

TooManySubscriptionsPerCustomer

TrialMustBeCancelledImmediately

UnPublishedPackage

Unauthenticated

UnexpectedError

UnsupportedFeatureType

UnsupportedSubscriptionScheduleType

UnsupportedVendorIdentifier

UsageMeasurementDiffOutOfRangeError

WorkflowTriggerNotFound

Workflow trigger not found