Open AbhayaShankar opened 3 months ago
Describe the bug I have tried importing the json file to the import use code editor but it's giving me "error": "Cannot read properties of undefined (reading 'kind')".
use code editor
Any way I can tackle this ?
Below is my schema type
{ "kind": "collectionType", "collectionName": "developers", "info": { "singularName": "developer", "pluralName": "developers", "displayName": "developer", "description": "" }, "options": { "draftAndPublish": true }, "pluginOptions": { "import-export-entries": { "idField": "title" } }, "attributes": { "title": { "type": "string", "required": true, "unique": false }, "logo": { "type": "media", "multiple": false, "required": false, "allowedTypes": ["images"] }, "description": { "type": "text", "required": true }, "properties": { "type": "relation", "relation": "oneToMany", "target": "api::property.property", "mappedBy": "developer" }, "slug": { "type": "uid", "targetField": "title" } } }
The data I am trying to add as a raw json file is something like this :-
{ "title": "Sample Developer", "description": "This is a sample developer description." }
I am not even able to import even the required fields. Any way to tackle this ?
Is this package being maintained? Not seeing any movement on bug fixes.
Apparently not!
Describe the bug I have tried importing the json file to the import
use code editor
but it's giving me "error": "Cannot read properties of undefined (reading 'kind')".Any way I can tackle this ?
Below is my schema type
The data I am trying to add as a raw json file is something like this :-
I am not even able to import even the required fields. Any way to tackle this ?