Graph QL query product 504 error

manhnq94
Excursionist
28 1 1

Hi Shopify Team,

I executed a product query and the server responded an error with status 504. I already executed this query multiple times and it works normally, please help me solve this problem.

The query I ran:

 

"""
            query ($id: ID!){
                product(id: $id) {
                    id
                    tags
                }
            }
        """

 

 

request id: 8ba5ff89-5d5c-4ed9-9c44-8a1e136d0478

environment: AWS lambda function

response time: 2021-03-30T10:01:04.773+07:00

response status: 504

response text:

 

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8" />

<meta name="referrer" content="never" />

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Something went wrong</title>

<style type="text/css">

*{box-sizing:border-box;margin:0;padding:0}html{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;background:#F1F1F1;font-size:62.5%;color:#303030;min-height:100%}body{padding:0;margin:0;line-height:2.7rem}a{color:#303030;border-bottom:1px solid #303030;text-decoration:none;padding-bottom:1rem;transition:border-color 0.2s ease-in}a:hover{border-bottom-color:#A9A9A9}h1{font-size:1.8rem;font-weight:400;margin:0 0 1.4rem 0}p{font-size:1.5rem;margin:0}.page{padding:4rem 3.5rem;margin:0;display:flex;min-height:100vh;flex-direction:column}.text-container--main{flex:1;display:flex;align-items:start;margin-bottom:1.6rem}.action{border:1px solid #A9A9A9;padding:1.2rem 2.5rem;border-radius:6px;text-decoration:none;margin-top:1.6rem;display:inline-block;font-size:1.5rem;transition:border-color 0.2s ease-in}.action:hover{border-color:#000}@media all and (min-width:500px){.text-container--main{align-items:center}.page{padding:7.5rem 10.5rem}}

</style>

</head>

<body class="status-error status-code-500">

<div class="page">

<div class="text-container text-container--main">

<div>

<h1 data-i18n="content-title">Something went wrong</h1>

<p data-i18n="try-refreshing">There was a problem loading this website</p>

<p data-i18n="try-again">Try refreshing the page.</p>

<a href="." class="action" data-i18n="refresh-page">Refresh Page</a>

</div>

</div>

</div>

</body>

</html>

<script>

var t = {

"cs": {

"title": "Něco se pokazilo",

"content-title": "Při načítání této webové stránky došlo k chybě",

"try-refreshing": "Zkuste stránku obnovit.",

"try-again": "Pokud se stránka ani přesto nenačte, zkuste to znovu za pár minut.",

"refresh-page": "Obnovit stránku"

},

"nb": {

"title": "Noe gikk galt",

"content-title": "Det oppsto et problem ved lasting av denne nettsiden",

"try-refreshing": "Prøv å oppdatere siden.",

"try-again": "Hvis nettstedet fortsatt ikke lastes inn, kan du prøve igjen om noen minutter.",

"refresh-page": "Oppdater siden"

},

"th": {

"title": "เกิดข้อผิดพลาดขึ้น",

"content-title": "เกิดปัญหาในการโหลดเว็บไซต์นี้",

"try-refreshing": "โปรดรีเฟรชหน้านี้อีกครั้ง",

"try-again": "หากเว็บไซต์ยังไม่โหลด โปรดลองอีกครั้งในอีกสักครู่",

"refresh-page": "รีเฟรชหน้า"

},

"pt-BR": {

"title": "Houve um erro.",

"content-title": "Houve um problema ao carregar este site",

"try-refreshing": "Tente atualizar a página.",

"try-again": "Se o site ainda não carregar, tente novamente dentro de alguns minutos.",

"refresh-page": "Atualizar a página"

},

"es": {

"title": "Algo salió mal.",

"content-title": "Se ha producido un error al descargar el sitio",

"try-refreshing": "Intenta actualizar la página.",

"try-again": "Si el sitio no se descarga, por favor, inténtalo en unos minutos.",

"refresh-page": "Actualizar la página"

},

"ko": {

"title": "ë¬¸ì œê°€ 발생했습니다.",

"content-title": "이 페이지를 로드하는 중 ë¬¸ì œê°€ 발생했습니다.",

"try-refreshing": "페이지를 새로 ê³ ì¹¨í•´ 보십시오.",

"try-again": "그래도 사이트가 로드되지 않으면 몇 분 후에 다시 시도하십시오.",

"refresh-page": "페이지 새로 ê³ ì¹¨"

},

"da": {

"title": "Der opstod en fejl",

"content-title": "Der opstod en fejl under indlæsning af dette website",

"try-refreshing": "Prøv at opdatere siden.",

"try-again": "Hvis websitet ikke indlæses, kan du prøve igen om nogle få minutter.",

"refresh-page": "Opdatér siden"

},

"fi": {

"title": "Jotain meni pieleen",

"content-title": "Tämän verkkosivuston lataamisessa oli ongelma",

"try-refreshing": "Yritä päivittää sivu.",

"try-again": "Jos sivusto ei vieläkään lataudu, yritä uudelleen muutaman minuutin kuluttua.",

"refresh-page": "Päivitä sivu"

},

"pt-PT": {

"title": "Ocorreu um erro",

"content-title": "Ocorreu um erro ao carregar este site",

"try-refreshing": "Experimente atualizar esta página.",

"try-again": "Se o site continua a não carregar, tente novamente dentro de alguns minutos.",

"refresh-page": "Atualizar página"

},

"de": {

"title": "Irgendetwas ist schiefgelaufen.",

"content-title": "Beim Laden dieser Website ist ein Fehler aufgetreten.",

"try-refreshing": "Versuche, die Seite zu aktualisieren.",

"try-again": "Wenn die Seite immer noch nicht geladen wird, versuche es bitte in ein paar Minuten erneut.",

"refresh-page": "Seite neu laden"

},

"it": {

"title": "Si è verificato un errore",

"content-title": "Si è verificato un problema nel caricamento di questo sito web",

"try-refreshing": "Prova ad aggiornare la pagina.",

"try-again": "Se il sito ancora non si carica, per favore riprova tra qualche minuto.",

"refresh-page": "Aggiorna pagina"

},

"pl": {

"title": "Coś poszło nie tak",

"content-title": "Podczas ładowania tej strony internetowej wystąpił problem",

"try-refreshing": "Spróbuj odświeżyć stronę.",

"try-again": "Jeśli strona nadal się nie ładuje, spróbuj ponownie za kilka minut.",

"refresh-page": "Odśwież stronę"

},

"sv": {

"title": "Ett fel uppstod",

"content-title": "Det gick inte att ladda den här webbplatsen",

"try-refreshing": "Försök att uppdatera sidan.",

"try-again": "Försök igen om några minuter om webbplatsen fortfarande inte har laddats.",

"refresh-page": "Uppdatera sida"

},

"en": {

"title": "Something went wrong",

"content-title": "There was a problem loading this website",

"try-refreshing": "Try refreshing the page.",

"try-again": "If the site still doesn't load, please try again in a few minutes.",

"refresh-page": "Refresh Page"

},

"hi": {

"title": "कुछ गलत हुआ",

"content-title": "इस वेबसाइट को लोड करने में समस्या हुई",

"try-refreshing": "पृष्ठ रीफ़्रेश करके देखें.",

"try-again": "यदि साइट अभी तक लोड नहीं हुई है, तो कृपया कुछ मिनटों में फिर से कोशिश करें.",

"refresh-page": "पेज को रीफ़्रेश करें"

},

"ja": {

"title": "問題が発生しているようです",

"content-title": "このウェブサイトを読み込む際に問題が発生しました",

"try-refreshing": "ページを更新してみてください。",

"try-again": "ã‚µã‚¤ãƒˆãŒèª­ã¿è¾¼ã¾ã‚Œãªã„å ´åˆã¯ã€æ•°åˆ†å¾Œã«ã‚‚ã†ä¸€åº¦ãŠè©¦ã—ãã ã•ã„ã€‚",

"refresh-page": "ページを更新する"

},

"fr": {

"title": "Une erreur s'est produite",

"content-title": "Un problème est survenu lors du chargement de ce site",

"try-refreshing": "Essayez d'actualiser la page.",

"try-again": "Si le site ne charge toujours pas, veuillez réessayer dans quelques minutes.",

"refresh-page": "Rafraîchir la page"

},

"zh-TW": {

"title": "出了點問題",

"content-title": "系統載入此網站時發生問題",

"try-refreshing": "è«‹å˜—è©¦é‡æ–°æ•´ç†æ­¤é é¢ã€‚",

"try-again": "如果網站仍未載入,請幾分鐘後再試一次。",

"refresh-page": "é‡æ–°æ•´ç†é é¢"

},

"ms": {

"title": "Sesuatu tidak kena",

"content-title": "Terdapat masalah memuatkan laman web ini",

"try-refreshing": "Cuba segarkan semula halaman.",

"try-again": "Jika laman web ini masih tidak memuatkan, sila cuba lagi dalam beberapa minit.",

"refresh-page": "Segarkan semula Halaman"

},

"tr": {

"title": "Bir sorun oluÅŸtu",

"content-title": "Bu web sitesi yüklenirken sorun oluştu",

"try-refreshing": "Sayfayı yenilemeyi deneyin.",

"try-again": "Sayfa hâlâ yüklenmiyorsa lütfen birkaç dakika sonra tekrar deneyin.",

"refresh-page": "Sayfayı Yenile"

},

"vi": {

"title": "Đã xảy ra lỗi",

"content-title": "Đã xảy ra sự cố khi tải trang web nà y",

"try-refreshing": "Thử là m mới trang.",

"try-again": "Nếu trang web vẫn không tải được, vui lòng thử lại sau ít phút.",

"refresh-page": "Tải lại trang"

},

"zh-CN": {

"title": "出现错误",

"content-title": "åŠ è½½æ­¤ç½‘ç«™æ—¶å‡ºçŽ°é—®é¢˜",

"try-refreshing": "请尝试刷新页面。",

"try-again": "å¦‚æžœç½‘ç«™ä»æœªåŠ è½½ï¼Œè¯·åœ¨å‡ åˆ†é’ŸåŽé‡è¯•ã€‚",

"refresh-page": "刷新页面"

},

"nl": {

"title": "Er ging iets mis",

"content-title": "Er is een probleem opgetreden bij het laden van deze website",

"try-refreshing": "Laad de pagina opnieuw.",

"try-again": "Als de site nog steeds niet laadt, probeer het over een paar minuten opnieuw.",

"refresh-page": "Pagina opnieuw laden"

}

};

var language = navigator.languages && navigator.languages[0] || // Chrome / Firefox

navigator.language || // All browsers

navigator.userLanguage || // IE <= 10

"en";

language = language.split("-")[0]; // Strip country code

translations = t[language] || t["en"];

// Replace content on screen

for (var id in translations) {

target = document.querySelector("[data-i18n=" + id + "]");

if (target != undefined) {

target.innerHTML = translations[id];

}

}

// Replace title tage

document.title = translations["title"];

// Replace language tag

if (t[language]) { document.getElementsByTagName('html')[0].setAttribute('lang', language); };

</script>

 

 

 

0 Likes