"metafields": {
"nodes": [
{
"id": "gid://shopify/Metafield/44095900025121",
"key": "custom",
"value": "true",
"jsonValue": "true",
"createdAt": "2026-01-08T09:10:26Z"
},
{
"id": "gid://shopify/Metafield/44095900582177",
"key": "paths",
"value": "[{\"line_item_id\":\"gid://shopify/LineItem/16704025788705\",\"left\":\"6938332365089/lineitem_16704025788705_left.stl\",\"right\":\"6938332365089/lineitem_16704025788705_right.stl\",\"uid\":\"SF26DO7VC0QU\"}]",
"jsonValue": [
{
"line_item_id": "gid://shopify/LineItem/16704025788705",
"left": "6938332365089/lineitem_16704025788705_left.stl",
"right": "6938332365089/lineitem_16704025788705_right.stl",
"uid": "SF26DO7VC0QU"
}
],
"createdAt": "2026-01-08T09:10:40Z"
},
The MetaData class property
jsonValueis set to be astring?which, if it is an array in the actual data, causes an exception. If this value wasSystem.Text.Json.JsonDocument?instead it would parse properly.Example real world data that would cause the issue