Title: Error : Failed loading XML
Last modified: August 22, 2016

---

# Error : Failed loading XML

 *  Resolved [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/)
 * Hi there
 * just installed the plugin (2.2) and after entering pretty much all required information,
   got this error on check out in the calculation of the price for shipping
 * Failed loading XML
 * in the Debug mode boxes…
 * Hide debug contents
    Latest Request XML Latest Response XML
 * No Data Found No Data Found
 * can you please provide a hint of where to look and what to look for
 * thank you
 * [https://wordpress.org/plugins/eshop-shipping-extension/](https://wordpress.org/plugins/eshop-shipping-extension/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853320)
 * Hi lucfortin,
 * Can I safely assume you’re using the Canada Post API?
    - Is debug turned on?
    - Does the eshop-shipping-extension directory have correct write permissions?
      i.e. can the web server write to the directory? This is important otherwise
      the debug xml files won’t be stored (hence the no data found messages)
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853339)
 * Thank you for the quick answer
 * the Canada Post API, hummmmmmm…. that would be what I need, but with your answer,
   I guess I haven’t installed it correctly.
 * I will go and find that out.
 * As for debug, yes
    write permission, yes
 * thank you…
 * Imight come back for where to look to install API (do have an account on Canada
   Post)
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853343)
 * Hoooo… after looking correctly, the write permission were not set… now they are…
   still fail loading XML but now I have a log
 * <?xml version=”1.0″?>
    <mailing-scenario xmlns=”[http://www.canadapost.ca/ws/ship/rate”&gt](http://www.canadapost.ca/ws/ship/rate”&gt);
   <quote-type>counter</quote-type> <parcel-characteristics> <weight>0.600</weight
   > <dimensions> <length>41.0</length> <width>41.0</width> <height>20.5</height
   > </dimensions> </parcel-characteristics> <origin-postal-code>changed</origin-
   postal-code> <destination> <domestic> <postal-code>G1H6X3</postal-code> </domestic
   > </destination> </mailing-scenario>
 * will look into the API
 * thank you again
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853344)
 * This plugin is an extension to eShop plugin. It won’t work with any other plugin(
   such as WooCommerce). For this to work, you will have to register with the [Canada Post Developer program](https://www.canadapost.ca/cpotools/apps/drc/home)
   and save your credentials within the plugin settings. The explanation is in the
   Canada Post box in the settings page.
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853345)
 * Thank you again…
 * I am reading Canada post as we speak…. heee.. write…
 * will answer shortly
 * thanks
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853359)
 * After installing the API keys (is there any thing else to install)
 * still have the same message but in a drop down menu
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853361)
 * Are you running eShop in test or production mode? The XML above is for the request.
   It’s showing `<origin-postal-code>changed</origin-postal-code>`. Is that something
   you changed to show ‘changed’? Also, what’s in the response log?
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853391)
 * Yes I do not want to post it online
 * As for the respond log… it is empty
 * <?xml version=”1.0″?>
    <mailing-scenario xmlns=”[http://www.canadapost.ca/ws/ship/rate”&gt](http://www.canadapost.ca/ws/ship/rate”&gt);
   <customer-number>***REMOVED***</customer-number> <parcel-characteristics> <weight
   >0.200</weight> <dimensions> <length>12.4</length> <width>12.4</width> <height
   >12.4</height> </dimensions> </parcel-characteristics> <origin-postal-code>H1H1H1(
   changed)</origin-postal-code> <destination> <domestic> <postal-code>G1H6X3</postal-
   code> </domestic> </destination> </mailing-scenario>
 * as for the answer : No data found
 * I an runing eshop on an WordPress local server 4.1 and both are live running (
   not testing / demo)
 * thanks
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853394)
 * Try running it under test instead of live. I’m saying this because it takes up
   to 24 hours for Canada Post API to enable live credentials. Under test, if things
   haven’t changed, you should see all services having the same price (a little 
   over $9.00). If you do, then things are working as they should and it’s just 
   a matter of time before your production account gets enabled.
 *  Thread Starter [lucfortin](https://wordpress.org/support/users/lucfortin/)
 * (@lucfortin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853401)
 * Well… try a lot of things and didn’t work
 * here’s the full log
 * <?xml version=”1.0″?>
    <mailing-scenario xmlns=”[http://www.canadapost.ca/ws/ship/rate”&gt](http://www.canadapost.ca/ws/ship/rate”&gt);
   <customer-number>***REMOVED***</customer-number> <parcel-characteristics> <weight
   >3.000</weight> <dimensions> <length>20.5</length> <width>20.5</width> <height
   >20.5</height> </dimensions> </parcel-characteristics> <origin-postal-code>H7X3X2
   </origin-postal-code> <destination> <domestic> <postal-code>H7X3X2</postal-code
   > </domestic> </destination> </mailing-scenario>
 * still get failing loading XML
 * I must have done something wrong because the Latest Response XML is still no 
   data found.
 * thanks
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853404)
 * Please create an admin account for me using vinny [at] usestrict [dot] net so
   I can have a look at your settings.
 *  Plugin Author [useStrict](https://wordpress.org/support/users/usestrict/)
 * (@usestrict)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853636)
 * I haven’t heard back. Closing the ticket as resolved.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error : Failed loading XML’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eshop-shipping-extension.svg)
 * [eShop Shipping Extension](https://wordpress.org/plugins/eshop-shipping-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eshop-shipping-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eshop-shipping-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/eshop-shipping-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eshop-shipping-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eshop-shipping-extension/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [useStrict](https://wordpress.org/support/users/usestrict/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-failed-loading-xml/#post-5853636)
 * Status: resolved