{
metaobject(id:"gid://shopify/Metaobject/26780860486") {
id
type
referencedBy(first:1) {
edges {
node {
__typename
name
namespace
referencer {
__typename
}
target {
__typename
}
}
}
}
}
}
Response:
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: f4e90ff1-5d90-476a-aad5-56143fb93cdd (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "f4e90ff1-5d90-476a-aad5-56143fb93cdd"
}
}
]
It is related to the target parameter - I’m seeing here a bit more context on the error: “Cannot return null for non-nullable field MetafieldRelation.target” - what are you expecting the target parameter to return? I believe it should be one of these possible values, but it’s possible it’s not set up correctly ?
Hi again Igor - from looking into this further, it actually seems like there is an issue on our side related to the list.metaobject_reference type. e’re working on a fix for this now.
Any updates on this? Tried to add a metafield on a Customer which references a list of metaobjects and got an internal server error. This happens both from my Hydrogen app and the Admin GraphIQL, so assuming it’s still an internal issue
Hacking around it by using string types for now (“single_line_text_field”)