--- title: DuplicateRenderSnippetArguments description: Ensures no duplicate arguments are provided when rendering a snippet. source_url: html: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments md: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#disabling-this-check) # DuplicateRenderSnippetArguments Each named argument should be passed into the `render` tag only once. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail The following example will fail because it contains two identically named arguments: ```liquid {% render 'example-snippet', some_input: 'text', some_input: 'more text' %} ``` ### ✓ Pass The following example will pass because the arguments have different names: ```liquid {% render 'example-snippet', some_input_1: 'text', some_input_2: 'more text' %} ``` *** ## Options The following example contains the default configuration for this check: ```yaml DuplicateRenderSnippetArguments: enabled: true severity: warning ``` | Parameter | Description | | - | - | | `enabled` | Whether this check is enabled. | | `severity` | The [severity](https://shopify.dev/docs/storefronts/themes/tools/theme-check/configuration#check-severity) of the check. | *** ## Disabling this check Disabling this check isn't recommended. *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#examples) * [Options](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#options) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/duplicate-render-snippet-arguments#disabling-this-check)