data at the root level is invalid. line 1 position 1

Hi All,

I have made the XML Port to upload the item, i just got this error data at the root level is invalid. line 1 position 1,

Any idea how to resolve it.

Navision 2009 SP1 (RTC)

Regards,
shailesh

Hi Shailesh,

see which field you select in Node Name, Any space between the any fields

are you importing data in the item table?

Hi Avinash,

Iam importing the data.

Below are the feild which iam using in xmlport

Node Name Node Type Source Type Data Source
Item Element Table (Item)
No. Element Field Item::No.
No._2 Element Field Item::No. 2
Description Element Field Item::Description
Description_2 Element Field Item::Description 2

which file you want to import that is in xml format or exel?

In Excel format , CSV format.

Did you try by removing .and_ from Node names?

yes i have try by removing . and _ form node names?

but still the same error.

Check XMLPort 5900 in standard Database and add Root element

Hi, did you get the answer of above problem?

Plesae share .

Regards,

Nitin

Did you try this suggestion?

In XMLPort Properties select format as “Variable Text” In Place of “XML”

Dear All,

While Importing Getting Same Error. Please Give Me Solution

Data at the root level is invalid. line 1 position 1,

Did you try the suggestion that Murali Mohan offered? It sounds like your xmlport is expecting a file that’s formatted in XML, but you’re feeding it a file formatted to csv standards. Could that possibly be the problem?

Thanks alot it worked…[:D]

All you buddies out there are amazingly awesome.