Error when using metafields in Customer account UI extension

Hi,

I’ve been trying to access some metafield data inside a Customer Account UI Extension, however I’m finding it impossible no matter what I try. I have checkout extensions that use the same code to access metafields that work fine, however it seems they are not accessible within new customer accounts.

Here’s my code:

import {
  TextBlock,
  reactExtension,
  useMetafield,
} from "@shopify/ui-extensions-react/customer-account";

export default reactExtension(
  "customer-account.order-index.block.render",
  () => 

And this is the error that it's throwing:

![Screenshot 2024-10-01 at 07.50.46.png|2130x580](upload://9QLanIYSX9KEEgTmiSzfp8v0FTv.png)

Am I missing something? The documentation suggests that metafields are available, and the methods exist to access them.

Thanks :grinning_face:

Further investigation has concluded that Metafields are not available. Can the Shopify team give an indication if/when this may change?