504 Gateway Time-out Graph QL API

please help

request id: f9ed9245-4b4d-4d26-88b1-8a1522d2a672

query string:

"""
            mutation productUpdate($input: ProductInput!) {
                productUpdate(input: $input) {
                    product {
                        id
                    }
                    userErrors {
                        field
                        message
                    }
                }
            }
        """

response time: 2021-03-31T09:18:15.046+07:00

response status: 504

response text:


# 504 Gateway Time-out

---

nginx

another error occurred when I called query order GraphQL API at 2021-03-25T11:24:00.282+07:00 from AWS lambda function

query string:

query ($orderID: ID!){
                    order(id: $orderID) {
                        transactions(first: 5) {
                            authorizationCode
                            gateway
                        }
                        customerJourneySummary {
                            lastVisit {
                                source 
                                sourceType 
                                utmParameters {
                                    campaign 
                                    content 
                                    medium 
                                    source 
                                    term 
                                }
                            }
                            firstVisit {
                                source 
                                sourceType 
                                utmParameters {
                                    campaign 
                                    content 
                                    medium 
                                    source 
                                    term 
                                }
                            }
                            ready
                        }
                    }
                }

request id: 0ee1b8de-f1ea-492f-9d9e-dadb2c0b0161

response status: 502

response text:


# 502 Bad Gateway

---

nginx

And another error occurred at 2021-03-25T11:09:36.155+07:00.

query string:

mutation productCreate($input: ProductInput!) {
	productCreate(input: $input) {
		product {
			id
			images(first: 50) {
				edges {
					node {
						id
						altText
					}
				}
			}
		}
		userErrors {
			field
			message
		}
	}
}

don’t have request id

response status: 520

response headers:

{'Date': 'Thu, 25 Mar 2021 04:09:36 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': 'cf_use_ob=0; path=/; expires=Thu, 25-Mar-21 04:10:06 GMT', 'X-Frame-Options': 'SAMEORIGIN', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'CF-RAY': '63554822ff0a5d74-IAD', 'Server': 'cloudflare'}

response text:


# There was a problem loading this website

Try refreshing the page.

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

Refresh Page

# Web server is returning an unknown error

There is an unknown connection issue between Cloudflare and the origin web server. As a result, the web page can not be displayed.

- Ray ID: 63554822ff0a5d74

- Your IP address: 18.218.117.56

- Error reference number: 520

- Cloudflare Location: Ashburn

And another,

request id: 16703610-2341-4606-a8a7-7ad650d95206

response status: 503

response text:


# Something went wrong

There was a problem loading this website

Try refreshing the page.

Refresh Page