I’ve done a little investigation into the error you’re experiencing, and I’ll be happy to provide some info on the issue below.
We identified a bug that prevents query on a Metafield field, and that’s what results in the error. Our team of developers have been notified of this issue and are currently looking into this. Though I’m not able to provide you with a timeline, I’d do well to keep you updated on the issue.
I’d like to recommend a workaround in the meantime using a MetafieldConnection! as shown below in place of the metafield. I understand the inconvenience caused by having to use a workaround, and I assure you our developers are working on resolving this issue.
metafields(first:1, namespace: "api_integration"){
edges{
node{
value
}
}
}
Please let me know if the above workaround works or if you have any additional questions regarding the issue.
Hi @stevenou , happy to help you in the Shopify community forum. There was an issue with the API endpoint that has been fixed now. Can you please try again and let me know if you have any issues again.