---
title: >-
  Add a new error code for handling missing payment method for subscription
  draft commits - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/add-a-new-error-code-for-handling-missing-payment-method-for-subscription-draft-commits
  md: >-
    https://shopify.dev/changelog/add-a-new-error-code-for-handling-missing-payment-method-for-subscription-draft-commits.md
metadata:
  effectiveApiVersion: 2024-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-04-11T16:49:39-04:00'
  postedAt: '2024-06-15T09:00:00-04:00'
  updatedAt: '2024-04-16T13:16:35-04:00'
  effectiveAt: '2024-06-15T09:00:00-04:00'
---

June 15, 2024

Tags:

* Admin GraphQL API
* 2024-07

# Add a new error code for handling missing payment method for subscription draft commits

As of 2024-07, you will receive a detailed error message when missing payment information for [subscriptionDraftCommit mutation](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/subscriptionDraftCommit).
