# Download My Posts failed

**URL:** <https://meta.discourse.org/t/download-my-posts-failed/67613>\
**Category:** Product Support\
**Created:** [Août 7, 2017, 8:33 UTC](https://meta.discourse.org/t/download-my-posts-failed/67613 "2017-08-07T20:33:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![moparisthebest](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moparisthebest/32/116760_2.png) [@moparisthebest](https://meta.discourse.org/u/moparisthebest)\
**Post date:** [Août 7, 2017, 8:33 UTC](https://meta.discourse.org/t/download-my-posts-failed/67613/1 "2017-08-07T20:33:56Z")

</div>

User informed me they could not download their posts, I tried as well (button in user/activity), I get a message saying “Data export failed” and this is in the logs:

```
Message

Job exception: undefined method `name' for nil:NilClass

Backtrace

/var/www/discourse/app/jobs/regular/export_csv_file.rb:226:in `get_user_archive_fields'
/var/www/discourse/app/jobs/regular/export_csv_file.rb:66:in `block in user_archive_export'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb:46:in `each'
/var/www/discourse/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.8/lib/active_record/relation/delegation.rb:46:in `each'
/var/www/discourse/app/jobs/regular/export_csv_file.rb:65:in `user_archive_export'
/var/www/discourse/app/jobs/regular/export_csv_file.rb:48:in `each'
/var/www/discourse/app/jobs/regular/export_csv_file.rb:48:in `block in execute'
/usr/local/lib/ruby/2.3.0/csv.rb:1282:in `open'
/var/www/discourse/app/jobs/regular/export_csv_file.rb:46:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

Env
hostname	hetzner1-smf
process_id	1372
application_version	ae8bd6c8258f729025656705545a45992fa82f9c
current_db	default
current_hostname	forum.moparisthebest.com
job	Jobs::ExportCsvFile
problem_db	default
	
opts	null
entity	user_archive
user_id	1
current_site_id	default

I am on current discourse stable v1.8.4 installed the supported way through docker on ubuntu.

```

---

_[View the full topic](https://meta.discourse.org/t/download-my-posts-failed/67613)._
