
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThe issue is that you're trying to access a property brand_logo that doesn't exist in your array items. When you define an array with inline object types (not a named type), the array items are the objects themselves - they don't have an intermediate property name.
Your schema defines an array where each item is directly an image object. So you should access the asset reference directly without the brand_logo prefix:
logo_set[]{
'logos': asset->url
}Or even simpler, if you just want the URLs:
logo_set[].asset->urlThe name: "brand_logo" in your schema is just a label for the Studio UI to identify the array item type, not a property in the actual data structure. Each item in the logo_set array is an image object with an asset reference and an alt field.
If you want to get both the URL and alt text, you could query like this:
logo_set[]{
'url': asset->url,
alt
}Why your original query returned null: You were trying to access brand_logo.asset->url, but brand_logo doesn't exist as a property in your stored data. The array items are the image objects themselves, so you access asset directly on each array item.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store