> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ErrorCode

> error codes



**Kind**: `enum`

## 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`**

**`ApiKeyExpired`** — API key has expired

**`ApiKeyHasExpiry`** — API key has expiry date set

**`ApiKeyNotFound`** — API key not found

**`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

**`AuthorizationServiceError`** — Authorization service error occurred

**`AwsMarketplaceIntegrationError`**

**`AwsMarketplaceIntegrationValidationError`**

**`BadUserInput`**

**`BillingContractOperationRejected`** — The billing contract rejected the operation. The message names why and what to do instead — commonly that the contract is no longer a draft, has no line items yet, or named a legal entity or payment account that does not exist.

**`BillingIntegrationAlreadyExistsError`**

**`BillingIntegrationMissing`**

**`BillingInvoiceStatusError`** — Billing invoice status must be open

**`BillingPeriodMissingError`**

**`CanNotUpdateEntitlementsFeatureGroup`** — Cannot update entitlement feature group

**`CannotAddOverrideEntitlementToPlan`** — Cannot add override entitlement to a plan

**`CannotArchiveFeatureError`**

**`CannotArchiveFeatureGroupError`**

**`CannotArchiveProductError`** — Cannot archive product

**`CannotChangeBillingIntegration`** — Cannot change billing integration at current customer state

**`CannotDeleteCustomerError`**

**`CannotDeleteDefaultIntegration`** — Deleting the default integration is not allowed

**`CannotDeleteFeatureError`**

**`CannotEditPackageInNonDraftMode`**

**`CannotRemovePaymentMethodFromCustomerError`**

**`CannotReportUsageForEntitlementWithMeterError`**

**`CannotUnarchiveProductError`** — Cannot unarchive product

**`CannotUpdateExpireAtForExpiredCreditGrantError`** — Cannot update expireAt for an expired credit grant

**`CannotUpdateMeterOfFeatureInUse`** — Cannot update the feature's meter while it has active subscriptions or promotional entitlements

**`CannotUpdateUnitTransformationError`** — Can not update unit transformation since this feature has connected active subscriptions

**`CannotUpsertToPackageThatHasDraft`**

**`ChangingPayingCustomerIsNotSupportedError`** — Changing paying customer is not supported

**`CheckoutIsNotSupported`**

**`ContractNotFound`**

**`CouponNotFound`**

**`CreditGrantAlreadyVoided`** — Credit grant already voided

**`CreditGrantCannotBeVoided`**

**`CreditGrantNotFound`** — Credit grant not found

**`CreditOveragePriceCurrencyNotFound`** — The custom currency referenced by the credit overage price was not found

**`CustomCurrencyNotFound`** — Custom currency not found

**`CustomerAlreadyHaveCustomerCoupon`**

**`CustomerAlreadyUsesCoupon`**

**`CustomerHasNoEmailAddress`**

**`CustomerNoBillingId`**

**`CustomerNotFound`**

**`CustomerResourceNotFound`**

**`DataExportIntegrationError`**

**`DeprecatedEstimateSubscriptionError`** — Deprecated estimate subscription error

**`DowngradeBillingPeriodNotSupportedError`**

**`DraftAddonCantBeArchived`** — Draft addon cannot be archived

**`DraftAlreadyExists`** — Draft already exists for offer

**`DraftPlanCantBeArchived`**

**`DuplicateAddonProvisionedError`** — Duplicate addons provisioned error

**`DuplicateIntegrationNotAllowed`** — Duplicate integration for same non billing vendor identifier not allowed

**`DuplicateProductValidationError`**

**`DuplicatedEntityNotAllowed`**

**`EditAllowedOnDraftPackageOnlyError`**

**`EntitlementBelongsToFeatureGroupError`** — Entitlement belongs to feature groups and cannot be deleted

**`EntitlementLimitExceededError`**

**`EntitlementUsageOutOfRangeError`**

**`EntitlementsMustBelongToSamePackage`**

**`EntityIdDifferentFromRefIdError`**

**`EntityIsArchivedError`**

**`EnvironmentMismatch`** — The environmentId in the request does not match the environment of the credentials used

**`EnvironmentMissing`**

**`ExperimentAlreadyRunning`**

**`ExperimentNotFoundError`**

**`ExperimentStatusError`**

**`ExpireAtMustBeLaterThanEffectiveAtError`** — field expireAt must be later than effectiveAt for credit grants

**`FailedToCreateCheckoutSessionError`**

**`FailedToImportCustomer`**

**`FailedToImportSubscriptions`** — Failed to import subscriptions

**`FailedToResolveBillingIntegration`** — Failed to resolve billing integration

**`FeatureConfigurationExceededLimitError`**

**`FeatureGroupMissingFeaturesError`** — Feature group is missing required features

**`FeatureGroupNotFoundError`**

**`FeatureNotBelongToFeatureGroupError`** — Feature does not belong to the specified feature group

**`FeatureNotEnabled`** — The requested capability is not enabled for this environment

**`FeatureNotFound`**

**`FetchAllCountriesPricesNotAllowed`**

**`FreePlanCantHaveCompatiblePackageGroupError`** — Free plan can't have compatible package groups error

**`FutureUpdateNotFound`**

**`GovernanceNotEnabled`** — Governance is not enabled for this account

**`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`**

**`IdempotencyConflictConcurrentRequest`** — A request with this idempotency key is still in progress

**`IdempotencyKeyReused`** — This idempotency key was already used for another request

**`IdempotencyUnknownResult`** — A request with this idempotency key committed its changes, but its response was not saved. Look up the resource instead of retrying

**`IdentityForbidden`**

**`ImportAlreadyInProgress`**

**`ImportSubscriptionsBulkError`**

**`IncompatibleSubscriptionAddon`**

**`InitStripePaymentMethodError`**

**`IntegrationNotFound`**

**`IntegrationValidationError`**

**`IntegrityViolation`**

**`InvalidAddressError`**

**`InvalidArgumentError`**

**`InvalidCancellationDate`**

**`InvalidCreditOverageBillingModel`** — The billing model is not valid for a credit overage price

**`InvalidDoggoSignatureError`**

**`InvalidEntitlementResetPeriod`**

**`InvalidMemberDelete`**

**`InvalidMetadataError`**

**`InvalidQuantity`**

**`InvalidReceivedSignatureError`**

**`InvalidSubscriptionStatus`**

**`InvalidTaxId`**

**`InvalidUpdatePriceUnitAmountError`**

**`InvoiceNotFound`** — No such invoice for this customer. Also returned when the invoice exists but belongs to a different customer, so that a caller cannot use the refusal to discover invoices it may not read.

**`InvoicePreviewNotAvailableForDraftContract`** — Invoice preview is not available while the billing contract is still a draft

**`InvoicePreviewNotAvailableForFailedContractPublish`** — Invoice preview is not available because the billing contract failed to publish

**`MemberInvitationError`**

**`MemberNotFound`**

**`MergeEnvironmentValidationError`**

**`MeterMustBeAssociatedToMeteredFeature`**

**`MeteringNotAvailableForFeatureType`**

**`MissingBillingInvoiceError`** — Missing billing invoice

**`MissingEntityIdError`**

**`MultiSubscriptionCantBeAutoCancellationSourceError`** — Multi subscription product cannot be a source of auto-cancellation rules

**`NoActiveSubscriptionForCustomer`**

**`NoDraftOfferFound`** — No draft offer found to publish

**`NoFeatureEntitlementError`** — This account has no access to the requested feature

**`NoFeatureEntitlementInSubscription`**

**`NoProductsAvailable`**

**`ObjectAlreadyBeingUsedByAnotherRequestError`** — The resource is already used by another request

**`OfferAlreadyExists`** — Offer already exists

**`OfferNotFound`** — Offer not found

**`OperationNotAllowedDuringInProgressExperiment`**

**`OperationTimeout`** — The operation timed out before it could complete. The request is safe to retry.

**`OveragePriceNotSupportedOnAddon`** — Overage prices are not supported on addon packages

**`OveragePriceRequiresUsageLimit`** — An overage price requires a usage limit to be set on the subscription

**`PackageAlreadyPublished`**

**`PackageGroupMinItemsError`** — Package group min items error

**`PackageGroupNotFound`**

**`PackagePricingTypeNotSet`**

**`PaymentMethodNotFoundError`**

**`PlanCannotBePublishWhenBasePlanIsDraft`**

**`PlanCannotBePublishWhenCompatibleAddonIsDraft`**

**`PlanIsUsedAsDefaultStartPlan`**

**`PlanIsUsedAsDowngradePlan`**

**`PlanNotFound`**

**`PlanWithChildCantBeDeleted`**

**`PlansCircularDependencyError`**

**`PreparePaymentMethodFormError`**

**`PriceNotFound`**

**`PricingModelNotSupportedByBillingIntegration`** — The plan uses a pricing model that the configured billing integration does not support

**`ProductNotFoundError`**

**`ProductNotPublishedError`**

**`PromotionCodeCustomerNotFirstPurchase`**

**`PromotionCodeMaxRedemptionsReached`**

**`PromotionCodeMinimumAmountNotReached`**

**`PromotionCodeNotActive`**

**`PromotionCodeNotForCustomer`**

**`PromotionCodeNotFound`**

**`PromotionalEntitlementNotFoundError`**

**`RateLimitExceeded`**

**`RecalculateEntitlementsError`**

**`RequiredSsoAuthenticationError`**

**`ReservationConflict`** — The credit reservation conflicts with an earlier request for the same reservation id

**`ReservationExpired`** — The credit reservation expired before it was released

**`ReservationNotFound`** — Credit reservation not found

**`ResyncAlreadyInProgress`**

**`ScheduledMigrationAlreadyExistsError`**

**`SchedulingAtEndOfBillingPeriod`**

**`SelectedBillingModelDoesntMatchImportedItemError`**

**`SingleSubscriptionCantBeAutoCancellationTargetError`** — Single subscription product cannot be a target of auto-cancellation rules

**`StripeCustomerIsDeleted`**

**`StripeError`**

**`SubscriptionAlreadyCanceledOrExpired`**

**`SubscriptionAlreadyOnLatestPlanError`**

**`SubscriptionDoesNotHaveBillingPeriod`**

**`SubscriptionMustHaveSinglePlanError`**

**`SubscriptionNoBillingId`**

**`SubscriptionNotFound`**

**`TooManyCustomCurrencies`** — Too many custom currencies

**`TooManySubscriptionsPerCustomer`**

**`TrialMustBeCancelledImmediately`**

**`UnPublishedPackage`**

**`Unauthenticated`**

**`UnexpectedError`**

**`UnsupportedFeatureType`**

**`UnsupportedParameter`** — Unsupported parameter

**`UnsupportedSubscriptionScheduleType`**

**`UnsupportedVendorIdentifier`**

**`UsageMeasurementDiffOutOfRangeError`**

**`VendorIsNotSupported`**

**`VersionExceedsMaxValueError`**

**`WorkflowTriggerNotFound`** — Workflow trigger not found



## Related topics

- [API Client (JS)](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/api-client-js.md)
- [.NET SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/dotnet.md)
- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [Java SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/java.md)
- [JavaScript SDK](https://docs.stigg.io/api-and-sdks/changelog/frontend/javascript.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.