Error on Retrieving Company meta fields

Topic summary

A user is encountering an internal server error when attempting to retrieve metafield definitions for products via Shopify’s GraphQL API.

Query Details:

  • The query requests the first 250 metafield definitions with ownerType: PRODUCT
  • Only requesting the name field from each definition

Error Response:

  • Returns INTERNAL_SERVER_ERROR code
  • Error message indicates something went wrong on Shopify’s end
  • Includes a request ID (9357143171-5c7b12ee2428-a72a-a724-60fd-37d66132) for support reference

Current Status:

  • The issue appears to be server-side rather than a query syntax problem
  • No resolution or responses have been provided yet
  • User may need to contact Shopify support with the provided request ID
Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

The query failing with the below error.

Query


query {
metafieldDefinitions(first: 250, ownerType: PRODUCT) {
edges {
node {
name
}
}
}
}

Error


{
“errors”: [
{
“message”: “Internal error. Looks like something went wrong on our end.\nRequest ID: 23166d73-df06-427a-a27a-8242ee21b7c5-1713417539 (include this in support requests).”,
“extensions”: {
“code”: “INTERNAL_SERVER_ERROR”,
“requestId”: “23166d73-df06-427a-a27a-8242ee21b7c5-1713417539”
}
}
]
}