What's your biggest current challenge? Have your say in Community Polls along the right column.

Getting The Error 403 from the Shopify @shopify/shopify-api/node_modules/node-fetch/lib

Getting The Error 403 from the Shopify @shopify/shopify-api/node_modules/node-fetch/lib

1080
Shopify Partner
301 9 65

Issue summary

Before opening this issue, I have: Check on repo issue not found the similer issue.

  •  Upgraded to the latest version of the relevant packages
    • @Shopify/* package and version:

    • "@shopify/app-bridge": "^3.7.7",
      "@shopify/app-bridge-react": "^4.1.3",
      "@shopify/polaris": "^13.4.0",
      "@shopify/polaris-viz": "^9.3.0",
      "@shopify/shopify-api": "^10.0.0",

    • Node version: v20.14.0

    • Operating system: Ubuntu

  •  Set { logger: { level: LogSeverity.Debug } } in my configuration, when applicable -? Setup the Debug level
  • Checked that this an issue with a Shopify API

white loading the React app and the React app bridge getting those issue. from the backend Shopify

Expected behavior

Shopify Api and Auth call work properly or it show the Correct full error ?

Actual behavior

What actually happens?
Shopify app is not loading

Steps to reproduce the problem

  1. Create New Shopify app with CLI
  2. do the appp installing in dev store after few day app is not loading

Debug logs

 request to https://***-dev-app-runing.myshopify.com/admin/oauth/access_token failed, reason: 
    at ClientRequest.<anonymous> (/home/*****/node_modules/@shopify/shopify-api/node_modules/node-fetch/lib/index.js:1501:11)
    at ClientRequest.emit (node:events:519:28)
    at TLSSocket.socketErrorListener (node:_http_client:500:9)
    at TLSSocket.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}
Replies 0 (0)