translatableResources(resourceType: METAOBJECT, first: 250) Why can't I get data through Postman?

Solved

translatableResources(resourceType: METAOBJECT, first: 250) Why can't I get data through Postman?

DaoYe
Shopify Partner
3 0 2
{
  translatableResources(resourceType: METAOBJECT, first: 250) {
    edges {
      node {
        resourceId
        translatableContent {
          digest
          key
          localescreenshot-20250430-095106.png
          value
          type
        }
        translations(locale: "zh-CN") {
          key
          locale
          value
          outdated
          updatedAt
        }
      }
    }
  }
}
I use postman to get data, but I can't get it. I can get the data by changing METAOBJECT to PRODUCT. Why? But the same request can get data in Shopify GraphiQL App
Accepted Solution (1)

goldi07
Navigator
360 38 69

This is an accepted solution.

Hello @DaoYe 

 

here's the precise reason why your translatableResources(resourceType: METAOBJECT) query works in Shopify GraphiQL but fails in Postman:

 

The core issue:
Your API token (used in Postman) lacks the necessary scopes for accessing METAOBJECT translatable resources.

Even though PRODUCT works, METAOBJECT requires additional or elevated permissions, which your token likely does not have.

 

 

Why it works in GraphiQL:
. The Shopify GraphiQL App runs within the authenticated context of the store admin.

. It bypasses token restrictions, giving access to all store features, including Translate & Adapt + Metaobjects.

 

 

Why it fails in Postman:
. Postman uses your Admin API token, which is strictly limited by scopes.

. METAOBJECT access depends on:

. read_metaobjects

. read_translations

If any of those scopes are missing — or the app isn’t properly installed with Translate & Adapt access — the result will be empty or fail silently.

 

 

Steps to Fix It
1. Confirm your app or token has these scopes:

. read_translations

. read_metaobjects

2. Reinstall the app if you're using a custom app and recently added scopes (Shopify requires reauthorization to update scopes).

3. Check if your store actually has metaobjects with translatable fields: Use this query in Postman first:

 

 

{
  metaobjects(first: 5) {
    edges {
      node {
        id
        type
      }
    }
  }
}

If this returns no data, there’s nothing to translate yet.

 

4. Make sure Translate & Adapt app is installed, since translation features (especially for Metaobjects) rely on it being active.

 

Final Tip:
Avoid this in your query (this looks like an accidental paste):

 

localescreenshot-20250430-095106.png

 

That line is not valid GraphQL syntax and may cause the request to fail.

 

 

Thank you 😊

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here

View solution in original post

Replies 3 (3)

goldi07
Navigator
360 38 69

This is an accepted solution.

Hello @DaoYe 

 

here's the precise reason why your translatableResources(resourceType: METAOBJECT) query works in Shopify GraphiQL but fails in Postman:

 

The core issue:
Your API token (used in Postman) lacks the necessary scopes for accessing METAOBJECT translatable resources.

Even though PRODUCT works, METAOBJECT requires additional or elevated permissions, which your token likely does not have.

 

 

Why it works in GraphiQL:
. The Shopify GraphiQL App runs within the authenticated context of the store admin.

. It bypasses token restrictions, giving access to all store features, including Translate & Adapt + Metaobjects.

 

 

Why it fails in Postman:
. Postman uses your Admin API token, which is strictly limited by scopes.

. METAOBJECT access depends on:

. read_metaobjects

. read_translations

If any of those scopes are missing — or the app isn’t properly installed with Translate & Adapt access — the result will be empty or fail silently.

 

 

Steps to Fix It
1. Confirm your app or token has these scopes:

. read_translations

. read_metaobjects

2. Reinstall the app if you're using a custom app and recently added scopes (Shopify requires reauthorization to update scopes).

3. Check if your store actually has metaobjects with translatable fields: Use this query in Postman first:

 

 

{
  metaobjects(first: 5) {
    edges {
      node {
        id
        type
      }
    }
  }
}

If this returns no data, there’s nothing to translate yet.

 

4. Make sure Translate & Adapt app is installed, since translation features (especially for Metaobjects) rely on it being active.

 

Final Tip:
Avoid this in your query (this looks like an accidental paste):

 

localescreenshot-20250430-095106.png

 

That line is not valid GraphQL syntax and may cause the request to fail.

 

 

Thank you 😊

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here
DaoYe
Shopify Partner
3 0 2

Thanks for your reply. I found the problem. My colleague did not have the corresponding permissions, which resulted in me not being able to obtain the data.

goldi07
Navigator
360 38 69

Ok that's great 👍 

Happy to help 🙂 

 

Was I helpful?

Buy me a coffee


APPS BY US :

Professional Customer Accounts APP


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -Goldi184507@gmail.com - Skype: live:.cid.819bad8ddb52736c -Whatsapp: +919317950519
Checkout Some Free Sections Here