20% OFF UNTIL THE END OF THE YEAR Use Code: OFF20 for 20% Off! (excluding customizations and support packages)
I’m encountering the error “prestapyt.prestapyt.PrestaShopWebServiceError: ‘HTTP XML response is not parsable : XML or text declaration not at start of entity: line 2, column 0…”. What’s causing this, and how can I fix it?

I'm encountering the error “prestapyt.prestapyt.PrestaShopWebServiceError: ‘HTTP XML response is not parsable : XML or text declaration not at start of entity: line 2, column 0…”. What's causing this, and how can I fix it?

This error indicates that the PrestaShop API is returning invalid XML data. While our PrestaShop connector expects well-formed XML, certain factors within your PrestaShop environment can disrupt this:

  • Third-party modules

  • Custom code modifications

  • Web server misconfiguration

Important: This issue originates from your PrestaShop setup and is not directly related to our connector.

Troubleshooting

  • Reproduce the error: Try accessing the problematic API endpoint directly in your browser (e.g., the product fetching API shown in the screenshot). If you see the same error, it confirms the issue lies within PrestaShop:

image-20240926-111637.png

Solution

  1. Contact your PrestaShop developer or support: They can help you identify and fix the underlying cause of the invalid XML response.

  2. Retry the failed action: Once the PrestaShop issue is resolved, restart any failed jobs in the connector.

Need Help?

If you require further assistance, please don’t hesitate to contact our support team: https://support.ventor.tech/

Related Posts
Leave a Reply

Your email address will not be published.Required fields are marked *