getProductVariant -> GraphQL Error (Code: 503)

Hello there,

I’m using GraphQl Admin APIs and since the last few weeks I started ocasionally to have errors like the following one. As you can see from the query field inside the payload it’s a simple getProductVariant api call. Do you have any clue on why that’s happening?

Thank you

Simone

GraphQL Error (Code: 503): {“response”:{“error”:“\n<html lang="en">\n\n <meta charset="utf-8" />\n <meta name="referrer" content="never" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n Something went wrong\n <style type="text/css">\n *{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}}\n \n\n\n<body class="status-error status-code-500">\n<div class="page">\n <div class="text-container text-container–main">\n

\n <h1 data-i18n="content-title">Something went wrong\n <p data-i18n="try-refreshing">There was a problem loading this website

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

\n <a href="." class="action" data-i18n="refresh-page">Refresh Page\n
\n \n\n\n\n\n\n\n”,“status”:503},“request”:{“query”:“query getProductVariant($id: ID!) {\n productVariant(id: $id) {\n id\n price\n displayName\n inventoryItem {\n id\n inventoryLevels(first: 1) {\n edges {\n node {\n location {\n id\n }\n }\n }\n }\n }\n }\n}\n”,“variables”:{“id”:“gid://shopify/ProductVariant/40097778303126”}}}

Hey @Modus

Thanks for raising this! Did you have an x-request_id from the headers when you make this call by chance? That will help us find out what’s happening from the logs. Many thanks.