{"title":"try - Liquid Filter Reference","slug":"try-filter-reference","url":"https://support.storeconnect.com/articles/try-filter-reference","url_markdown":"https://support.storeconnect.com/articles/try-filter-reference.md","subtitle":null,"summary":"Safely accesses a property that may not exist on an object, returning nil instead of an error. Use `try` when a field\u0026#39;s presence is uncertain.","type":"Developer_Documentation","video_url":"","keywords":"liquid, filters, try, collections, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nTries to call the supplied attribute against the supplied object. Use this when you know the property may or may not exist on the object as a way to indicate that it's expected and ok for it not to exist.\n\n| Property | Value |\n|----------|-------|\n| **Return Type** | any |\n| **Category** | collections |\n\n## Examples\n\n```liquid\n\n }}\n```\n\n**Output:** ``\n\n```liquid\n\n }}\n```\n\n**Output:** `RED`"}