Title: Error while importing demo data (Reason 406)
Last modified: September 21, 2016

---

# Error while importing demo data (Reason 406)

 *  Resolved [bjdr](https://wordpress.org/support/users/bjdr/)
 * (@bjdr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/)
 * Hi,
 * I’m having trouble getting import demo data to work correctly. I’m using the 
   predefined import (I’m importing it from a server (URL)) ang each time I get 
   this error:
 * An error occurred while fetching Demo Import file from the server!
    Reason: 406–
   Not Acceptable.
 * Can you tell me what exactly that means and how I can fix it?
 * When I’m manually importing the file via the wordpress import it works ok.

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

 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8207556)
 * Hi,
 * The xml file can’t be downloaded.
 * I’m no server specialist, but something is wrong, either with the server, where
   the import file is located, or with the server where you have the WP installation(
   or this might be one and the same server for you?).
 * >  406 error happens when the server cannot respond with the accept-header specified
   > in the request.
 * This is a very rare error and I would advise you to test it on another server.
 * You can also try with this import file url: [https://raw.githubusercontent.com/proteusthemes/one-click-demo-import/master/tests/data/import-files/content.xml](https://raw.githubusercontent.com/proteusthemes/one-click-demo-import/master/tests/data/import-files/content.xml)
 * It’s from the plugin github repository and it only contains one post, one page
   and one image. I haven’t tried to import from the url above, but I think it should
   work.
 * Let me know how it goes.
 * Take care!
    -  This reply was modified 9 years, 9 months ago by [Gregor Capuder](https://wordpress.org/support/users/capuderg/).
 *  Thread Starter [bjdr](https://wordpress.org/support/users/bjdr/)
 * (@bjdr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8207629)
 * Thanks for your quick reply!
 * Yes, it’s one and the same server for me.
 * It actually worked with the file from the link you gave me. It even worked with
   same file, when I’ve placed it on my server. So there must be something wrong
   with the xml I’m exporting from wordpress.
 * But I see that your file was generated with wordpress 4.4.1 – maybe something
   has changed with current version of wp exporter?
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8207971)
 * Hi,
 * there have been some minor changes to the WP exporter/importer, but we didn’t
   have any other reports of this kind of issues.
 * Could you please tell me the URL of your XML file, so I can test it out tomorrow
   morning?
 * Take care!
 *  Thread Starter [bjdr](https://wordpress.org/support/users/bjdr/)
 * (@bjdr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8208048)
 * Maybe it was an issue with my host after all – I’ve disabled mod_security option
   and import works fine now. Thank you for all your help and great plugin (and 
   sorry for the trouble).
 * 🙂
 *  Plugin Author [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * (@capuderg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8208929)
 * Hi,
 * no problem at all 🙂
 * If you like our plugin, please rate it here: [https://wordpress.org/support/plugin/one-click-demo-import/reviews/](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)
   I would really appriciate it!
 * Take care!

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

The topic ‘Error while importing demo data (Reason 406)’ is closed to new replies.

 * ![](https://ps.w.org/one-click-demo-import/assets/icon-256x256.png?rev=2506685)
 * [One Click Demo Import](https://wordpress.org/plugins/one-click-demo-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/one-click-demo-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/one-click-demo-import/)
 * [Active Topics](https://wordpress.org/support/plugin/one-click-demo-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/one-click-demo-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/one-click-demo-import/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Gregor Capuder](https://wordpress.org/support/users/capuderg/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-while-importing-demo-data-reason-406/#post-8208929)
 * Status: resolved