Skip to content

CsvError: Invalid Closing Quote: got "I" at line 10203 instead of delimiter, record delimiter, trimable character (if activated) or comment #1740

Open

Description

Backup error for config 09475312-931c-41de-a2a8-33154f65b5b2: CsvError: Invalid Closing Quote: got "I" at line 10203 instead of delimiter, record delimiter, trimable character (if activated) or comment
at Object.parse (C:\inetpub\wwwroot\tmc-backup\backend.techmatrixconsulting.com\node_modules\jsforce\node_modules\csv-parse\dist\cjs\index.cjs:1081:19)
at Parser._transform (C:\inetpub\wwwroot\tmc-backup\backend.techmatrixconsulting.com\node_modules\jsforce\node_modules\csv-parse\dist\cjs\index.cjs:1783:26)
at Transform._write (node:internal/streams/transform:171:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at PassThrough.ondata (node:internal/streams/readable:1009:22)
at PassThrough.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3) {
code: 'CSV_INVALID_CLOSING_QUOTE',
bytes: 3719157,
comment_lines: 0,
empty_lines: 0,
invalid_field_length: 0,
lines: 10203,
records: 10201,
columns: [
{ name: 'Id' },
{ name: 'IsDeleted' },
{ name: 'MasterRecordId' },
{ name: 'AccountId' },
{ name: 'LastName' },
{ name: 'FirstName' },
{ name: 'Salutation' },
{ name: 'Name' },
{ name: 'OtherStreet' },
{ name: 'OtherCity' },
{ name: 'OtherState' },
{ name: 'OtherPostalCode' },
{ name: 'OtherCountry' },
{ name: 'OtherStateCode' },
{ name: 'OtherCountryCode' },
{ name: 'OtherLatitude' },
{ name: 'OtherLongitude' },
{ name: 'OtherGeocodeAccuracy' },
{ name: 'MailingStreet' },
{ name: 'MailingCity' },
{ name: 'MailingState' },
{ name: 'MailingPostalCode' },
{ name: 'MailingCountry' },
{ name: 'MailingStateCode' },
{ name: 'MailingCountryCode' },
{ name: 'MailingLatitude' },
{ name: 'MailingLongitude' },
{ name: 'MailingGeocodeAccuracy' },
{ name: 'Phone' },
{ name: 'Fax' },
{ name: 'MobilePhone' },
{ name: 'HomePhone' },
{ name: 'OtherPhone' },
{ name: 'AssistantPhone' },
{ name: 'ReportsToId' },
{ name: 'Email' },
{ name: 'Title' },
{ name: 'Department' },
{ name: 'AssistantName' },
{ name: 'LeadSource' },
{ name: 'Birthdate' },
{ name: 'Description' },
{ name: 'OwnerId' },
{ name: 'HasOptedOutOfEmail' },
{ name: 'CreatedDate' },
{ name: 'CreatedById' },
{ name: 'LastModifiedDate' },
{ name: 'LastModifiedById' },
{ name: 'SystemModstamp' },
{ name: 'LastActivityDate' },
{ name: 'LastCURequestDate' },
{ name: 'LastCUUpdateDate' },
{ name: 'LastViewedDate' },
{ name: 'LastReferencedDate' },
{ name: 'EmailBouncedReason' },
{ name: 'EmailBouncedDate' },
{ name: 'IsEmailBounced' },
{ name: 'PhotoUrl' },
{ name: 'Jigsaw' },
{ name: 'JigsawContactId' },
{ name: 'IndividualId' }
],
error: undefined,
header: false,
index: 47,
raw: undefined,
column: 'LastModifiedById',
quoting: false
}"This issue is coming up, I need a solution

Activity

  1. cristiand391 commented on Jul 29, 2025

    @cristiand391
    Contributor

    this sounds like an issue in your csv file, can you try removing line 10203 to see if it parses it fine?

    the error suggest a quoted field in that line where the char next to the closing quote isn't valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions