---
title: SubscriptionContractCalculationDiagnosticCode - GraphQL Admin
description: Diagnostic codes for subscription contract calculation errors and warnings.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/SubscriptionContractCalculationDiagnosticCode
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/SubscriptionContractCalculationDiagnosticCode.md
api_name: admin
api_type: graphql
type: enum
---

# Subscription​Contract​Calculation​Diagnostic​Code

enum

Diagnostic codes for subscription contract calculation errors and warnings.

## Valid values

* BUNDLE\_​REQUIRES\_​MERCHANDISE\_​CUSTOMIZATIONS

  The contract contains a bundle that could not be expanded; bundles are only supported when merchandise customizations are enabled.

* CALCULATION\_​TIMEOUT

  The calculation did not resolve in time. The calculation can be safely retried.

* CURRENCY\_​NOT\_​SUPPORTED

  The subscription contract currency is not supported by the shop.

* CUSTOM\_​VALIDATION

  A cart validation function produced a message.

* CUSTOMER\_​CONTACT\_​METHOD\_​REQUIRED

  The customer has no contact method (email or phone) but the shop requires one to bill the contract.

* DELIVERY\_​ADDRESS\_​INVALID

  The delivery address is not valid.

* DELIVERY\_​METHOD\_​REQUIRED

  The contract has items that require shipping, so a delivery method is required.

* DELIVERY\_​METHOD\_​UNUSED

  The contract has a delivery method but no items that require shipping.

* DELIVERY\_​NO\_​LOCATION\_​SHIPS\_​TO\_​ADDRESS

  No location can ship the contract's merchandise to the delivery address. Delivery may still proceed at billing time by falling back to a default location.

* DELIVERY\_​PICKUP\_​LOCATION\_​UNAVAILABLE

  The contract's pickup location can no longer fulfil the order — it was removed, disabled, or does not support pickup for the merchandise.

* DISCOUNT\_​CODE\_​NOT\_​APPLIED

  A requested discount code was not applied: it doesn't exist, isn't active, or isn't applicable to this subscription contract.

* INVALID

  The input value is invalid.

* LINE\_​PRICE\_​ADJUSTED\_​FOR\_​FULFILLMENTS

  A line's price was adjusted so it divides evenly across the fulfillments in each billing cycle.

* MERCHANDISE\_​GIFT\_​CARD\_​INVALID

  A gift card merchandise line is invalid because its price is not greater than zero.

* MERCHANDISE\_​NOT\_​FOUND

  The merchandise product variant could not be found.

* PAYMENT\_​METHOD\_​NOT\_​FOUND

  The payment method could not be found.

* PROCESSING\_​ERROR

  The calculation could not be completed due to an unexpected error.

***

## Fields

* [Subscription​Contract​Calculation​Diagnostic.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionContractCalculationDiagnostic#field-SubscriptionContractCalculationDiagnostic.fields.code)

  OBJECT

  A diagnostic (error or warning) emitted during a subscription contract calculation.

***

## Map

### Fields with this enum

* [Subscription​Contract​Calculation​Diagnostic.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionContractCalculationDiagnostic#field-SubscriptionContractCalculationDiagnostic.fields.code)
