Requests to Shopify API failing since this morning

Solved
kyle_truong
Shopify Partner
31 5 7

Hey everyone,

I've been experiencing issues hitting the Shopify API since this morning and it's preventing users from installing my app. The last time I changed anything with the app was June 18th. The app still works as expected on the local version of the app, including requests to Shopify. The error in production is as follows:

 

request to https://<mydomain>/admin/api/2021-07/graphql.json failed, reason: socket hang up","error":{"message":"request to https://<mydomain>/admin/api/2021-07/graphql.json failed, reason: socket hang up","type":"system","errno":"ECONNRESET","code":"ECONNRESET"

 

and the corresponding query that it errors on:

query get_shopify_data {

        shop {
          name
          email
          currencyCode
        }

        locations(first: 10) {
          edges {
            node {
              id
              name
              isActive
              addressVerified
              address {
                address1
                address2
                city
                countryCode
                provinceCode
                zip
                latitude
                longitude
                phone
              }
            }
          }
        }

        orders(first: 15, sortKey: CREATED_AT, reverse: true) {
          edges {
            node {
              id
              createdAt
              name
              email
              phone
              displayFulfillmentStatus
              clientIp
              test
              tags
              note
              customAttributes {
                key
                value
              }
              shippingLine {
                id
                title
                code
                deliveryCategory
                source
                custom
              }
              totalPriceSet {
                shopMoney {
                  amount
                  currencyCode
                }
              }
              displayAddress {
                address1
                address2
                city
                zip
                provinceCode
                countryCodeV2
                name
                latitude
                longitude
              }
              shippingAddress {
                address1
                address2
                city
                zip
                provinceCode
                countryCodeV2
                name
                latitude
                longitude
              }
              billingAddress {
                address1
                address2
                city
                zip
                provinceCode
                countryCodeV2
                name
                latitude
                longitude
              }
            }
          }
        }

      }

I'm wondering if there is something wrong with my key or account or something that is blocking this specific request for my app, or if you see something I'm doing wrong here.

I'm not sure why my requests to Shopify are failing, any help would be appreciated.

Thank you,
Kyle Truong

GordCurrie
New Member
1 1 0

This is an accepted solution.

Kyle it looks like it may be a similar issue as others are seeing and discussing in https://community.shopify.com/c/Shopify-APIs-SDKs/Urgent-Are-you-experiencing-issues-with-PUT-POST-P...

0 Likes