• Layla Hamid
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
While trying to insert about 500 Accounts via Bulk API  getting Error as "null:InvalidBatch : InvalidBatch : Failed to parse CSV. Not expecting more text after end quote" .

Inserting Data using "PUT" request via WorkBench.
Steps followed as mentioned below:
1. Get  the job ID via /jobs/ingest in the URI
2. Put over 500 records of Account (insert) with contentType as "text/csv"  and appending Jobid in URI
/jobs/ingest/<jobId>/batches
3. Patch  the state as "UploadComplete" with  contentType as "application/json"
4. Get  the data with  respective Job Id in URI 

Post  above steps I  am getting Error as "null:InvalidBatch : InvalidBatch : Failed to parse CSV. Not expecting more text after end quote

It will be very helpful if someone can guide me further . I have checked Input  data isn't having any space at the end .

Example input :
"Name"
"Insuron Bulk Company"
"Orboid Bulk Company"
"Bovis Bulk Company"
"Roughies Bulk Company"
"Otherside Bulk Company"
"Endipin Bulk Company"
"Austech Bulk Company"
"Quility Bulk Company"
"Bleendot Bulk Company"
"Apex Bulk Company"
"Cognicode Bulk Company"
"Securia Bulk Company"
"Fanfare Bulk Company"
"Obones Bulk Company"
"Eyeris Bulk Company"
"Techtrix Bulk Company"
"Ceprene Bulk Company"
"Vortexaco Bulk Company"
"Techmania Bulk Company"
"Gleamink Bulk Company"
"Apextri Bulk Company"
"Orbalix Bulk Company"
"Zentry Bulk Company"
"Inear Bulk Company"
"Genesynk Bulk Company"
"Flum Bulk Company"

I  have 500  records as mentioned above.

Thanks,
Ritu Ghosh