[SERVER-9381] While importing CSV File into MongoDB i am getting this Error Invalid BSONObj size Created: 22/Feb/13  Updated: 10/Dec/14  Resolved: 01/May/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Srinivas Bikkina Assignee: Stennie Steneker (Inactive)
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows server 2008r2 x64 and mongodb x64 2.2


Participants:

 Comments   
Comment by Stennie Steneker (Inactive) [ 01/May/13 ]

Since we have not received enough details to help investigate or reproduce this issue, I'm going to close it as Incomplete.

It appears as though there may be an error in the formatting of the CSV input file provided. You should be able to isolate the line or field that triggers this BSONObj size by reducing your CSV file. It would also be worthwhile importing your CSV into another application such as a spreadsheet program to confirm it appears valid.

I would also note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. Since there are few details here it is unclear whether this issue is a usage problem or a potential bug.

If you do encounter this issue in future, I would suggest a better starting point would be posting a discussion on the mongodb-user group or appropriately tagged question on StackOverflow.

Thanks,
Stephen

Comment by Stennie Steneker (Inactive) [ 18/Apr/13 ]

Hi,

This error message suggests there may be a problem with the CSV file you are importing. How did you create the CSV file?

Can you attach a sample of the CSV file that produces the error?

Also, can you please confirm the exact version of MongoDB being used?

Thanks,
Stephen

Comment by Ramesh [ 02/Apr/13 ]

Hi,

I have also faced same problem. Please help me to resolve this issue.

Thanks,
Ramesh

Generated at Thu Feb 08 03:20:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.