problem with csv

amaradiswamy
Kilo Sage

Hi All,

I am struggling with importing CSV file to import set. In import set table some junk columns are getting created and when i clicked on "Loaded data" it is showing the error "An invalid XML character (Unicode: 0x0) was found in the element content of the document."

find_real_file.png

What can be the possible issue for this?

Thanks and regards,

Swamy

1 ACCEPTED SOLUTION

Hi Tomasi,



Sorry, i forgot clear the junk columns which were already created. i have used utf-16 in properties, now it is working fine but to check once, will it cause any problem to the instance?



Thanks and regards,


Swamy


View solution in original post

19 REPLIES 19

View this from the thread (click on the title) if you are already looking at it in your inbox.



Next, click "Use Advanced Editor" in the upper right corner of this editor box (this does not show up with inbox view.)



find_real_file.png



Finally, you will see "Attach" in the lower right corner of the editor window.



find_real_file.png


Thank you. After reviewing the file, it's definitely the format of the data.



This appears to be a tab separated values file, not comma separated. CSV stands for comma separated values, which is what ServiceNow is expecting. There isn't a single comma in the sample file you gave me.



If you cannot change the input file to comma separated values, you can adjust your data source to accept tabs using the CSV delimiter field. To use tab, click the lightbulb icon and then click \t. It will insert a tab.



find_real_file.png


Thanks for your help, but still i am getting the error and no columns are getting created in import set table.



Regards,


Swamy


Hi Swamy,



Sorry to hear you are still having problems. It might be time to reach out to customer support. I'll be curious to see what they say and learn from it.


Thank you so much Tomasi



Could you please help me to understand on possible reasons for getting junk column names like



Regards,


Swamy