# Curl reports user created, but it didn't really work

**URL:** <https://meta.discourse.org/t/curl-reports-user-created-but-it-didnt-really-work/259119>\
**Category:** Support\
**Created:** [March 23, 2023, 7:04am UTC](https://meta.discourse.org/t/curl-reports-user-created-but-it-didnt-really-work/259119 "2023-03-23T07:04:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![MikeNolan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikenolan/32/297597_2.png) [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**Post date:** [March 23, 2023, 5:41pm UTC](https://meta.discourse.org/t/curl-reports-user-created-but-it-didnt-really-work/259119/3 "2023-03-23T17:41:05Z")

</div>

Problem solved, I had to make sure the headers were properly formatted with a colon rather than an equals sign.

I tried looking at the mbox import script, but it seems to be missing a bunch of stuff, as noted in this post:

> [@Migrate a mailing list to Discourse (mbox, Listserv, Google Groups, etc)](https://meta.discourse.org/t/migrate-a-mailing-list-to-discourse-mbox-listserv-google-groups-etc/79773/232):
>
> That’s a valid point, Jay. I’m not finding the import\_mbox.sh file and when I try executing the mbox.rb script directly, I get a bunch of Ruby errors: root@lists-import:/var/www/discourse/script/import\_scripts# ruby mbox.rb mbox fatal: detected dubious ownership in repository at ‘/var/www/discourse’ To add an exception for this directory, call: git config --global --add safe.directory /var/www/discourse /var/www/discourse/vendor/bundle/ruby/3.2.0/gems/zeitwerk-2.6.7/lib/zeitwerk/loader…

Anyway, I wanted to play with creating the user IDs (mailman doesn’t use them) because what I’m doing is importing 20 years worth of archives and a lot of those users are no longer around or using different email addresses. I’ve got around 700 users from the old system in the database now, adding 100,000 posts might present some other issues.

I dropped the staged=true field, it didn’t appear to be working anyway.

It took me an evening to write some PHP tools that parsed all those Mailman pipermail archives and built a set of user IDs, which wasn’t too bad.

---

_[View the full topic](https://meta.discourse.org/t/curl-reports-user-created-but-it-didnt-really-work/259119)._
