Extension creation for existing app return shopify.app.toml error

ranjithnm
Shopify Partner
6 0 2

When attempting to create an app extension for an existing app using the npm run shopify app generate extension command, getting an error instructing to address a schema issue in the shopify.app.toml file. any idea about this issue?

Fix a schema error in shopify.app.toml: │
│ [ │
│ { │
│ "code": "invalid_type", │
│ "expected": "string", │
│ "received": "undefined", │
│ "path": [ │
│ "name" │
│ ], │
│ "message": "Required" │
│ }, │
│ { │
│ "code": "invalid_type", │
│ "expected": "object", │
│ "received": "undefined", │
│ "path": [ │
│ "auth"

Reply 1 (1)

cherriecoder
Shopify Partner
7 0 0

Hey! Were you able to solve this? mine says that the shopify.extension.toml file has a schema error 

[ │
│ { │
│ "code": "too_big", │
│ "maximum": 30, │
│ "type": "string", │
│ "inclusive": true, │
│ "exact": false, │
│ "message": "Handle can't exceed 30 characters", │
│ "path": [ │
│ "handle" │
│ ] │
│ } │
│ ]