- How can i config the accessScopes in Partner Dashboard?
- How to resolve the deploy issue?
I want to build my own extension, and i don’t know how to config the access scopes in dashboard.
After I edit access_scopes in shopify.app.toml and try to deploy a new version, it was failed.
npm run dev:
╭─ warning ────────────────────────────────────────────────────────────────────╮
│ │
│ The scopes in your TOML don't match the scopes in your Partner Dashboard │
│ │
│ Scopes in shopify.app.toml: │
│ • write_payment_gateways │
│ • write_payment_sessions │
│ │
│ Scopes in Partner Dashboard: │
│ • No scopes │
│ │
│ Next steps │
│ • Run `npm run shopify app deploy` to push your scopes to the Partner │
│ Dashboard │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
npm run deploy:
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Version couldn't be created. │
│ │
│ app-access │
│ │
│ Validation errors │
│ • scopes: write_payment_gateways, write_payment_sessions, │
│ read_payment_gateways, read_payment_sessions │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
