MONEI / Shopify-api-node

Node Shopify connector sponsored by MONEI
https://monei.com/shopify-payment-gateway/
MIT License
940 stars 278 forks source link

ERR_NON_2XX_3XX_RESPONSE - shopify.location.list #647

Open chiragpurohit71085 opened 4 months ago

chiragpurohit71085 commented 4 months ago

code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1708419659304, socket: 1708419659305, lookup: 1708419659305, connect: 1708419659391, secureConnect: 1708419659397, upload: 1708419659397, response: 1708419659719, end: 1708419659725, error: undefined, abort: undefined, phases: { wait: 1, dns: 0, tcp: 86, tls: 6, request: 0, firstByte: 322, download: 6, total: 421 } } }

I got almost all the possible permissions

const shopify = new Shopify({ shopName: bsShopifyStoreInfo.shop, accessToken: decryptedToken });

const locations = await shopify.location.list();

permissions

unauthenticated_read_product_inventory,write_inventory,read_inventory,read_product_listings,read_products,write_products,unauthenticated_read_content,unauthenticated_read_customer_tags,unauthenticated_read_product_tags,unauthenticated_read_product_listings,unauthenticated_write_checkouts,unauthenticated_read_checkouts,unauthenticated_write_customers,unauthenticated_read_customers,read_orders,write_orders