# Augur TreeTime error

**URL:** <https://nextstrain.discourse.group/t/augur-treetime-error/1448>\
**Category:** Help and Getting Started\
**Created:** [October 12, 2023, 3:43pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448 "2023-10-12T15:43:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sani38](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@sani38](https://nextstrain.discourse.group/u/sani38)\
**Post date:** [October 12, 2023, 3:43pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/1 "2023-10-12T15:43:30Z")

</div>

hi ,  
I have been getting this error while trying to build a tree.

augur refine --alignment alignment.fasta --tree tree.subs.nwk --metadata metadata.tsv --timetree --divergence-units mutations --output-tree tree.time.nwk --output-node-data refine.node.json

augur refine is using TreeTime version 0.11.1  
ERROR: ERROR: ALMOST NO VALID DATE CONSTRAINTS

ERROR from TreeTime: This error is most likely due to a problem with your input data.  
Please check your input data and try again. If you continue to have problems, please open a new issue including  
the original command and the error above: [https://github.com/nextstrain/augur/issues/new/choose](https://github.com/nextstrain/augur/issues/new/choose)

---

<div class="post-metadata">

**Author:** ![victorlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/victorlin/32/306_2.png) [@victorlin](https://nextstrain.discourse.group/u/victorlin)\
**Post date:** [October 12, 2023, 5:42pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/2 "2023-10-12T17:42:21Z")

</div>

Hi @sani38,

Sorry to hear you’re having trouble building a tree. It looks like there’s a lack of date information in the metadata. TreeTime [expects](https://github.com/neherlab/treetime/blob/bd24cd465956bd9e5ccf304739adf94f2488a18a/treetime/utils.py#L260-L261) that to be under a column named `date`. Can you check that it’s there? If the data is not sensitive, you also share the files to this public forum so we can reproduce the error and give you better guidance.

– Victor

---

<div class="post-metadata">

**Author:** ![joverlee](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@joverlee](https://nextstrain.discourse.group/u/joverlee)\
**Post date:** [October 12, 2023, 5:48pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/3 "2023-10-12T17:48:00Z")

</div>

Looks like this is also being discussed on an open [Augur issue](https://github.com/nextstrain/augur/issues/1327), but I’m unable to confirm that these are the same users.

---

<div class="post-metadata">

**Author:** ![sani38](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@sani38](https://nextstrain.discourse.group/u/sani38)\
**Post date:** [October 12, 2023, 5:59pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/4 "2023-10-12T17:59:09Z")

</div>

Hello. Yes, i posted there as well. I just made an account for discussion today. Is it not allowed to post on both platform? I am new to this. I am sorry 🙂

---

<div class="post-metadata">

**Author:** ![sani38](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@sani38](https://nextstrain.discourse.group/u/sani38)\
**Post date:** [October 12, 2023, 6:08pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/5 "2023-10-12T18:08:39Z")

</div>

hi, thank you for your reply. I am a new user so I cannot attach any files here. I have replied back to you on mail and attached them there. I have also posted the same on [Augur](https://github.com/nextstrain/augur/issues/1327) . You can access the files from there

---

<div class="post-metadata">

**Author:** ![joverlee](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@joverlee](https://nextstrain.discourse.group/u/joverlee)\
**Post date:** [October 12, 2023, 6:50pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/6 "2023-10-12T18:50:43Z")

</div>

No problem! I just wanted to make sure we were helping the same person! We can continue debugging in the Augur issue.

---

<div class="post-metadata">

**Author:** ![trs](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/trs/32/5_2.png) [@trs](https://nextstrain.discourse.group/u/trs)\
**Post date:** [October 12, 2023, 8:41pm UTC](https://nextstrain.discourse.group/t/augur-treetime-error/1448/7 "2023-10-12T20:41:27Z")

</div>

> [@sani38](#):
>
> I am a new user so I cannot attach any files here.

Ah, apologies. This was an unintentional restriction enabled by default. Thanks for telling us about it. I’ve increased the “newuser max attachments” limit from 0 to 8.
