---
title: New error codes added to fileUpdate 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/new-error-codes-added-to-fileupdate-mutation'
  md: >-
    https://shopify.dev/changelog/new-error-codes-added-to-fileupdate-mutation.md
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-05-08T12:59:49-04:00'
  postedAt: '2023-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-07-01T00:00:00-04:00'
---

July 1, 2023

Tags:

* API
* 2023-07

# New error codes added to `fileUpdate` mutation

As of API version **2023-07** new error codes `FILENAME_ALREADY_EXISTS` and `INVALID_FILENAME` will be added to the `fileUpdate` mutation. These error codes are returned when you attempt to update the filename (URL Handle) and the input either matches an existing filename (URL Handle) or it is invalid.
