---
title: New selected_delivery_option error codes in cart - 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/new-selected_delivery_option-error-codes-in-cart
  md: >-
    https://shopify.dev/changelog/new-selected_delivery_option-error-codes-in-cart.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-02-02T06:47:58-05:00'
  postedAt: '2023-04-01T00:00:00-04:00'
  updatedAt: '2024-02-02T10:05:10-05:00'
  effectiveAt: '2023-04-01T00:00:00-04:00'
---

April 1, 2023

Tags:

* API

# New `selected_delivery_option` error codes in cart

We've added the error codes `INVALID_DELIVERY_GROUP` and `INVALID_DELIVERY_OPTION` for `cartSelectedDeliveryOptionsUpdate` mutation , allowing you to get descriptive error codes when GraphQL returns invalid delivery group id or invalid delivery options input.
