# API bug : final "." in username causes error

**URL:** <https://meta.discourse.org/t/api-bug-final-in-username-causes-error/230677>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [June 21, 2022, 9:27pm UTC](https://meta.discourse.org/t/api-bug-final-in-username-causes-error/230677 "2022-06-21T21:27:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [June 21, 2022, 10:34pm UTC](https://meta.discourse.org/t/api-bug-final-in-username-causes-error/230677/2 "2022-06-21T22:34:42Z")

</div>

A username cannot end in a period, so this is the expected response. I was going to check the source, but you can try to create an account here with a trailing dot and it’s illegal.

---

_[View the full topic](https://meta.discourse.org/t/api-bug-final-in-username-causes-error/230677)._
