Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
Hello, I'm having issue with App Owned metafield.
API version: 2023-07
When it started: Yesterday, 11/11/2023
Manage to get all the metafields successfully with the following graphql code:
appInstallation {
id
metafields(namespace: "'.$namespace.'", first: 200) {
edges {
node {
id,
key
}
}
}
}
It is working fine before this. The following doesn't work for only couple of stores where the metafield is returning null although there are values.
appInstallation { id metafield(namespace: "your namespace", key: "your key") { value } }
Any idea what's wrong?
Solved! Go to the solution
This is an accepted solution.
Thanks! Our devs released an update so this issue should be resolved now.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
We experience the same issue with App metafields. We can list them with Get metafields attached to an app installation query, but getting a specific metafield returns null.
We tried different API versions, including 2021-07, 2023-07 and the latest 2023-10
@spoluer I thought I'm the only one with this issue as I searched all the forums. I've created a support ticket with Shopify and sent them all the details as required. Waiting for their reply now.
Same issue here. Creating support ticket now
Thank you! I have also included this page in my support ticket as a reference
Hi folks - thanks for flagging this issue on queries to metafields not working correctly. Our team are currently investigating this!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi again Eric12098,
Can you DM me with a store URL where this is happening?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Thanks! Our devs released an update so this issue should be resolved now.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
We are having this issue on mahigold.com
All metafield queries return null from the storefront graphql api.
Hi Liam, im having the same issue. I send a support ticket but no response...
I can get the metafields with one of my store but not with this one : https://demowil.myshopify.com/
API version: 2024-01