Problem with GraphQL translatableResource request for ShopPolicy

someone_importa
New Member
2 0 0

Hi,

In some cases  i use the option of fetching a translatableResource by resourceId ( i use graphQL).

It works well for all the types but recently i saw that for type of ShopPolicy i get "null" translatableResource.

Fetching by type works well, but in my case i need to fetch by a specific resource id.

Are you aware for this ?

Thanks

0 Likes
someone_importa
New Member
2 0 0

someone?

0 Likes
Gerlof
Tourist
4 0 1

It seems to be a permission problem, so reinstall the app and grant the correct permissions.

0 Likes
Pravin-Bhapkar
Tourist
10 1 0

Do we any finding for this ? 

Having same issue. In listing I am able fetch Shop_policy. But If I try to use with resourceId (Single object) it return null. We need translations for language. (read_translations scope is enabled)

0 Likes
Gerlof
Tourist
4 0 1

Go to private apps as store owner and switch the "Legal policies" option to read/write. That should do it. (See image.)

This should tell you more about the private apps:
https://help.shopify.com/en/manual/apps/private-apps

If it is not a private app, you should ask the developer to change the requested permissions and reinstall the app.

Screenshot from 2021-08-05 10-12-31.png