---
title: >-
  New validations on function input query variables metafields - 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/posts/new-validations-on-function-input-query-variables-metafields
  md: >-
    https://shopify.dev/changelog/posts/new-validations-on-function-input-query-variables-metafields.md
metadata:
  effectiveApiVersion: 2025-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2024-10-15T13:45:53-04:00'
  postedAt: '2025-01-06T13:00:00-05:00'
  updatedAt: '2025-01-06T09:51:25-05:00'
  effectiveAt: '2025-01-06T13:00:00-05:00'
---

January 6, 2025

# New validations on function input query variables metafields

DateJanuary 6, 2025

Version[2025-01](https://shopify.dev/changelog?api_version=2025-01)

FlagsUpdate

SurfacesAPI

As of 2025-01, input query variables metafields will now be subject to additional validation across all Function APIs.

Previously, if these metafields didn't contain properly formatted data, we treated them as empty. This could lead to situations where it was difficult to determine why a function wasn't receiving the expected input data.

Now, an invalid metafield will result in an `InvalidVariableValueError` when attempting to run the function.

For more information, refer to the [list of errors](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors#list-of-errors).
