Why is the Original Shopify Connector Not Working and Why am I Getting Errors Despite Using Admin API Token in New Private App?

This topic was automatically generated from Slack. You can find the original thread here.

Hey there the original connector to Shopify is not working anymore and I created through Shopify Developer App configured private App in shopify and using the Admin API token but getting this error:

Can you try using that same app with a basic query to make sure it’s working, like this one?

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shopify_developer_app: {
      type: "app",
      app: "shopify_developer_app",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{  
        shop { 
          id 
          name
          email 
        } 
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.shopify_developer_app.$auth.shop_id}.[myshopify.com/admin/api/2023-04/graphql.json](http://myshopify.com/admin/api/2023-04/graphql.json)`,
      headers: {
        "X-Shopify-Access-Token": `${this.shopify_developer_app.$auth.access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})

Since that error is coming from Shopify and sounds like there’s an issue w/ the token