# Importing comments, posts are not getting created. Says user not present but the user is present

**URL:** <https://meta.discourse.org/t/importing-comments-posts-are-not-getting-created-says-user-not-present-but-the-user-is-present/74154>\
**Category:** Support\
**Created:** [16 Noviembre, 2017 02:46 UTC](https://meta.discourse.org/t/importing-comments-posts-are-not-getting-created-says-user-not-present-but-the-user-is-present/74154 "2017-11-16T02:46:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Quintin\_Par](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/quintin_par/32/120500_2.png) [@Quintin\_Par](https://meta.discourse.org/u/Quintin_Par)\
**Post date:** [16 Noviembre, 2017 02:46 UTC](https://meta.discourse.org/t/importing-comments-posts-are-not-getting-created-says-user-not-present-but-the-user-is-present/74154/1 "2017-11-16T02:46:14Z")

</div>

So I am trying to import a disqus commenting system

All of the topics get created but the corresponding comments are not. So I started digging around and realized the user object for the corresponding comment/post is not shown as “present” even though I can browse them from the forum.

The code in question is this

> <https://github.com/discourse/discourse/blob/5012d46cbd3bcf79b7351f7d2d41003496a796c5/script/import_scripts/disqus.rb#L80>

Before the import process started, I had disabled all outgoing emails. The script then created all these users (which I can verify)

But  
`post_user.present?`  
returns empty

Is this because the users are not active yet?

If yes, can I manually activate these users because they are part of an import and were already “active”

---

_[View the full topic](https://meta.discourse.org/t/importing-comments-posts-are-not-getting-created-says-user-not-present-but-the-user-is-present/74154)._
