插入 InsightExternalData 时获取状态 CompletedWithWarnings

Get status CompletedWithWarnings when insert InsightExternalData

我的csv文件有3941495条记录,我检查过我的文件,压缩后正好有3941495条记录,但服务器上的结果是3941489条记录。我得到了状态 "CompletedWithWarnings",这是状态消息

The job was completed successfully, but failed in the part of the line. From data monitoring to download the error log, please check the failed line.

有人知道怎么解决吗?或者如何下载错误日志?

如果您使用 Salesforce Analytics,您可以在 UI 上监控外部数据上传。根据 documentation(见第 114 页):

When you upload an external data file, Wave Analytics kicks off a job that uploads the data into the specified dataset. You can use the data monitor to monitor and troubleshoot the upload job. The Jobs view of the data monitor shows the status, start time, and duration of each dataflow job and external data upload job. It shows jobs for the last 7 days and keeps the logs for 30 days.

In Wave Analytics, click the gear button and then click Data Monitor to open the data monitor. The Jobs view appears by default. The Jobs view displays dataflow and upload jobs. The Jobs view displays each upload job name as . You can hover a job to view the entire name.

To see the latest status of a job, click the Refresh Jobs button.

To view the run-time details for a job, expand the job node. The run-time details display under the job. In the run-time details section, scroll to the right to view information about the rows that were processed.

To troubleshoot a job that has failed rows, view the error message. Also, click the download button in the run-time details section to download the error log.

Note: Only the user who uploaded the external data file can see the download button. The error log contains a list of failed rows.