GraphQL Queries returning other languages randomly

Hi,

Im not sure if anyone else has faced this problem, but when we make GrahQL query, the responses sometimes do not return the correct language we specified.

We have the translations properly set up on shopify, and are retrieving the results correctly most of the time.

Most of the time all queries return ZH_TW correctly. There are times when a request from HK IP address returns english, there are times when India IP address returns english, there are times when SG IP address returns english.

We can even get different results from using VPN on the exact same queries when the issues occur. (Some requests from different origin return English even though we specified ZH_TW.)

The weird thing is it works most of the time, but there are random times when it will fail, for specific regions, that are also random. We are not sure if there is a bug on your side.

This is a sample of the request:

query @inContext(language: ZH_TW) {
products(first: 1, query:“id:xxx”) {

Thanks

Hi ms01,

Thanks for your post. If you’d like to make a more private official report and have one or more specific examples from within the past 7 days, please reach out [to Partner Support using the email option], select the ‘App Development & API’ topic, and include as much info as possible such as:

  • the date, time, and timezone when each example happened

  • the URL that each API call connected to

  • the x-request-id from the response and any additional logs of the interaction (no access tokens please)

Hope you have a great day