Jump to content

XML Parsing Error: no element found - PrestaShop


Everforhome

Recommended Posts

Hi everybody!
We use a ShippingBo solution connected to our Pretashop 1.7.7.7 and we have a pb.
the message is about our data recovery between the prestashop and the ShippingBo with this message :
The document <?xml version='1.0'?>\n does not have a valid root.
So our stock datas and orders states could not go from prestashop to ShippingBo.
Does someone have an ideo of what's going wrong.
Thank you!

Edited by Everforhome (see edit history)
Link to comment
Share on other sites

Open the XML and see if the first line really ends \n.
If so, the error is in the XML report, where the programmer did not use "\n" at the end of the sentence but used '\n'.

Note the difference between double and single quotes.

 

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 1/15/2022 at 6:55 AM, knacky said:

Open the XML and see if the first line really ends \n.
If so, the error is in the XML report, where the programmer did not use "\n" at the end of the sentence but used '\n'.

Note the difference between double and single quotes.

 

Hi Knacky!

Thank you very much for your answer!!!
I apologize for not my late answer but I was waiting for the answer of my team in order to give you a feed back.

Following to your post we contacted ShippingBo and we received an answer in wich they explain that in the attached file they gave us, they couldn't find any "\n" value...

I put the .dat file in a zip file to upload it there if you wan't to see...

if you or someone else has got an idea...

Thank you again
Best regards

ServiceCredential_3080_2021-10-21T07_34_50_00ea29de-46f9-4247-8b2e-0988fd637faa.zip

Edited by Everforhome (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...