diff --git a/import-with-bulkRequest.go b/import-with-bulkRequest.go index 7be87e9..bfc7771 100644 --- a/import-with-bulkRequest.go +++ b/import-with-bulkRequest.go @@ -232,6 +232,9 @@ func importFromCSV(app *kintone.App, _reader io.Reader) error { } } for key, table := range tables { + if len(table.Fields) == 0 { + continue + } if record[key] == nil { record[key] = getField(kintone.FT_SUBTABLE, "") }