A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
How come the following trivial query keeps failing with the following error.
INTERNAL_SERVER_ERROR
Internal error. Looks like something went wrong on our end. Request ID: a5380348-a92f-4fe8-9a57-f61830fa6ab9 (include this in support requests).
Shop: chulo-b2b.myshopify.com
Query:
{
companyLocation(id: "gid://shopify/CompanyLocation/570163490") {
metafields(first: 1) {
nodes {
namespace
key
value
}
}
}
}
From our docs it does looks like this is supported, I'll connect with our internal dev teams to see what might be the issue here. In the meantime can you confirm your app has the `read_customers`, or/and `read_companies` scopes?
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 @Liam
Yes I confirm that our app has the read_customers permissions.
Permissions errors are different, they tell you exactly what the missing permission is.
Here, it is clearly an error.
Also, the query works fine with other company locations, so this is not a permission issue. It seems to be an issue with this specific company location.