Import Data task (id: 373985) exception error message: error parsing the import file, check the contents of the import file, only supports the import json format data files and excel

Applet import, export of other people database json file, the following error message:

导入数据库失败, Error: Poll error
导入数据任务(id:373985)异常,
错误信息:解析导入文件错误,请检查导入文件内容,仅支持导入json格式数据及excel文件,
错误详情如下: JSON decoder out of sync - data changing underfoot?

Introducing standard json file format is as follows:

[
  {
    "_id""W-Fq-Ku9e31Z7K3i",
    "title""来自福布斯精英的25节金融思维课"
  },
  {
    "_id""W-FsDau9e31Z7K3j",
    "title""25课通识阅读 带你打破知识边界"
  },
  {
    "_id""W_ldfkXacNtiP6tE",
    "title""新标日初级上精讲班"
  }
]

The exported file to the cloud database, an error is because import formats and export file formats are different. Export to normal json file, import the file is not a normal json format.

Export:

[
  {
    "_id""W-Fq-Ku9e31Z7K3i",
    "title""来自福布斯精英的25节金融思维课"
  },
  {
    "_id""W-FsDau9e31Z7K3j",
    "title""25课通识阅读 带你打破知识边界"
  },
  {
    "_id""W_ldfkXacNtiP6tE",
    "title""新标日初级上精讲班"
  }
]

Import:

  {
    "_id""W-Fq-Ku9e31Z7K3i",
    "title""来自福布斯精英的25节金融思维课"
  }
  {
    "_id""W-FsDau9e31Z7K3j",
    "title""25课通识阅读 带你打破知识边界"
  }
  {
    "_id""W_ldfkXacNtiP6tE",
    "title""新标日初级上精讲班"
  }

Namely: the need to remove import format [] and {}, {} between , commas.


I created a number of public road used to record their own learning, and interested partners can look small micro-channel public number: niceyoo

Guess you like

Origin www.cnblogs.com/niceyoo/p/11863666.html