--- title: >- A new error code added to InventorySetScheduledChanges mutation - 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/a-new-error-code-added-to-inventorysetscheduledchanges-mutation md: >- https://shopify.dev/changelog/a-new-error-code-added-to-inventorysetscheduledchanges-mutation.md metadata: effectiveApiVersion: 2024-07 affectedApi: - displayName: Admin GraphQL API handle: admin-graphql primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2024-06-21T16:06:51-04:00' postedAt: '2024-07-01T15:59:00-04:00' updatedAt: '2024-06-21T17:05:40-04:00' effectiveAt: '2024-07-01T15:59:00-04:00' --- July 1, 2024 Tags: * Admin GraphQL API * 2024-07 # A new error code added to InventorySetScheduledChanges mutation As of the **2024-07** release of the GraphQL Admin API, a new error code `LEDGER_DOCUMENT_INVALID` will be added to the potential errors for the [InventorySetScheduledChanges](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventorySetScheduledChanges) mutation. This error code will be returned when the ledgerDocumentUri provided is not a valid URI.