Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
CSV Import - Some lines (rows) from CSV file are not loaded, or loaded incorrectly. - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • CSV Import - Some lines (rows) from CSV file are not loaded, or loaded incorrectly.
KB0815403

CSV Import - Some lines (rows) from CSV file are not loaded, or loaded incorrectly.


3335 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

When a CSV file is attached or configured to load from a remote location like FTP(S), HTTP(S), SFTP, etc. you may experience that not all records were loaded from the CSV correctly. (Number of lines in CSV and number of records in Import Set Table do not match)

Release

All ServiceNow Platform releases.

Cause

These issues are commonly caused by the formatting of the source CSV file.

 

CSV files are plain text files, and store the data without any type formatting. Because there are many applications like Microsoft Excel, Libre Office Sheets, Apple Numbers that can handle these files, they appear like they are natural file formats of these applications, and they allow users to display the data in a tabular form.

Here is an example CSV file displayed in Microsoft Excel:

 

But this file is actually a text file and when opened with Notepad, TextEdit or a similar basic text editor, it will reveal the actual data:

 

As you can see, native applications hide many of the underlying data structure, and makes troubleshooting difficult.

Because there is no strict standard on generation of CSV data, certain formatting or lack of signs like comma (,), quotes ('), double quotes (") might cause issues while trying to import this data on other systems, including ServiceNow platform.

Resolution

Please validate your source CSV file before importing into ServiceNow platform.

 

  • Check your source data with a plain text editor against header columns count versus data columns count.

 

  • If it's a large file or contains large number of columns, you can use one of many online validation websites. You can upload your file, and it will provide feedback on its formatting. One example is:
    • https://csvlint.io/

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.