Title: 500 error when running export
Last modified: August 13, 2021

---

# 500 error when running export

 *  [Marty](https://wordpress.org/support/users/bozzmedia/)
 * (@bozzmedia)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/500-error-when-running-export/)
 * Not able to generate a new download when I check the ‘Export media with selected
   content’ and a date range of August 2021 to now — if it’s unchecked the export
   works as expected.
 * Console error info below. Thanks!
 *     ```
       GEThttps://redacted.org/wp-admin/export.php?download=true&content=posts&cat=0&post_author=0&post_start_date=2021-07&post_end_date=0&post_status=0&page_author=0&page_start_date=0&page_end_date=0&page_status=0&attachment_start_date=0&attachment_end_date=0&export-media-with-selected-content=0&export-media-with-selected-content=1&submit=Download+Export+File
       [HTTP/3 500 Internal Server Error 3597ms]
   
   
       GET
       	https://redacted.org/wp-admin/export.php?download=true&content=posts&cat=0&post_author=0&post_start_date=2021-07&post_end_date=0&post_status=0&page_author=0&page_start_date=0&page_end_date=0&page_status=0&attachment_start_date=0&attachment_end_date=0&export-media-with-selected-content=0,1&submit=Download Export File
       Status500
       Internal Server Error
       VersionHTTP/3
       Transferred3.98 KB (2.93 KB size)
       Referrer Policystrict-origin-when-cross-origin
   
   
           alt-svc
           	h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
           cache-control
           	no-cache, must-revalidate, max-age=0
           cf-cache-status
           	DYNAMIC
           cf-edge-cache
           	no-cache
           cf-ray
           	67ddfe64c92339f0-SEA
           content-description
           	File Transfer
           content-disposition
           	attachment; filename=redactedorg.WordPress.2021-08-13.xml
           content-type
           	text/html; charset=UTF-8
           date
           	Fri, 13 Aug 2021 00:58:16 GMT
           expect-ct
           	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
           expires
           	Wed, 11 Jan 1984 05:00:00 GMT
           nel
           	{"success_fraction":0,"report_to":"cf-nel","max_age":604800}
           referrer-policy
           	strict-origin-when-cross-origin
           report-to
           	{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=abhCto0%2FEaF1j22gswoPQP3%2BJq%2B6wOt0hnj3MHLuR6rraypeiwEN%2FOzdyQ5R1POo6Rq33aybphKsUHbY36en3CFjVcQbMSwcTfTjBotDmz4pgsCP18SpWum12wbY%2Bpy7zDo%3D"}],"group":"cf-nel","max_age":604800}
           server
           	cloudflare
           vary
           	Accept-Encoding,User-Agent
           x-frame-options
           	SAMEORIGIN
   
           Accept
           	text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
           Accept-Encoding
           	gzip, deflate, br
           Accept-Language
           	en-US,en;q=0.5
           Alt-Used
           	redacted.org
           Connection
           	keep-alive
           Cookie
           	autoptimize_feed=1; wordpress_sec_aa008fe4c7947530ea7a9cc9f17330a5=bozz%7C1628984670%7C3yqsmoVBsZW5qWrSDRS2rf4oXaCkSBpoQvvGhOV8r7O%7C5b7a9fe3e6b9d22c5136c222d1a8f25b3f57ae1d6d239432e377b816db77bd81; __stripe_mid=0884bf84-379a-436a-b854-1816e32de4a11dc31c; comment_author_email_aa008fe4c7947530ea7a9cc9f17330a5=test@gmail.com; comment_author_aa008fe4c7947530ea7a9cc9f17330a5=a%20B; __gads=ID=e0894f1e96850257-220e6dafa0c400c5:T=1604446422:RT=1604446422:S=ALNI_MbyFSatCV4o-GipakBdy-4jzXT0DA; _ga=GA1.2.…bb0b6b553cbb7abe935744fc066384-1628812607-0-150; _gid=GA1.2.872225677.1628797347; _dlt=1; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_aa008fe4c7947530ea7a9cc9f17330a5=test%7C1628984670%7C3yqsmoVBsZW5qWrSDRS2rf4oXaCkSBpoQvvGhOV8r7O%7C9b9203864d38a90523c607f03ba9848c519c4be341138c6147f63c781702177c; __cf_bm=ce2bb85fc4a88717d073091e0f7c747d07597161-1628816278-1800-ATojQr69ntg6QAGGgBj/p+8hHXv8qBQf4hXWz7Hg0IsC6qenMoP20GvMo2ReFdpqZ/vEa2wJIgA67R8KNsrhUjwjKuW2NBC56+GBfR1+q0QBrZqithqmu7eGXJvN7/fAYw==
           DNT
           	1
           Host
           	redacted.org
           Referer
           	https://redacted.org/wp-admin/export.php
           Sec-Fetch-Dest
           	document
           Sec-Fetch-Mode
           	navigate
           Sec-Fetch-Site
           	same-origin
           Sec-Fetch-User
           	?1
           TE
           	trailers
           Upgrade-Insecure-Requests
           	1
           User-Agent
           	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
       ```
   

The topic ‘500 error when running export’ is closed to new replies.

 * ![](https://ps.w.org/export-media-with-selected-content/assets/icon.svg?rev=3306467)
 * [Export media with selected content (by DKZR)](https://wordpress.org/plugins/export-media-with-selected-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/export-media-with-selected-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/export-media-with-selected-content/)
 * [Active Topics](https://wordpress.org/support/plugin/export-media-with-selected-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/export-media-with-selected-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/export-media-with-selected-content/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Marty](https://wordpress.org/support/users/bozzmedia/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/500-error-when-running-export/)
 * Status: not resolved