データインポートタスク実行中の「ヘッダーに空/Null のフィールドが含まれています」エラー
I receive the following error message when running a data import task:
Header has an empty/null field.
This causes the import task to fail.
The following are three possible causes of this error message:
- The comma-separated values (CSV) file contains an extra comma at the end of the column headers, which leads the site to expect an additional column name. When a null value appears for an expected column name, the data import task fails automatically.
- The entire row of column headers in the CSV file is encapsulated in double quotation marks ("). This also causes immediate failure of the data import task, as the site expects the full list of required columns for that CSV file; the site cannot recognize the long, encapsulated string as a column header.
- There is a FileColumnName included on the CSV which is not supported by the task per the realm's the Data Dictionary. There are values under the invalid header and the system cannot recognize the change requirement.
データインポートタスクの実行時に次のエラーが表示されます。
ヘッダーに空/Null のフィールドが含まれています。
これによってインポートタスクが失敗します。
このエラーメッセージの考えられる原因には以下の 2 つがあります。
- カンマ区切り値 (CSV) ファイルに列ヘッダーの最後に余分なカンマが含まれているため、追加の列名が想定されます。想定された列名に Null 値が表示されると、データインポートタスクが自動的に失敗します。
- CSV ファイルの列ヘッダーの行全体が二重引用符 (") でカプセル化されています。その CSV ファイルに必要な列に対して完全な一覧が想定されるため、これもデータインポートタスクがすぐに失敗する原因となります。
次のうちのいずれかの処理を実行して、エラーを解決します。
- テキストエディタで CSV ファイルを開き、列ヘッダー行の最後から余分なカンマを削除します。
- 列ヘッダー行から二重引用符を削除します。
ファイルを再インポートする前に、データの各行の最後も確認して、余分なカンマまたは二重引用符を削除するようにしてください。
カタログ管理
コア購買 > コアシステム管理 > コアシステム管理インポート/エクスポート
請求書