# I can't create user fields

**URL:** https://meta.discourse.org/t/i-cant-create-user-fields/30938
**Category:** Support
**Created:** [2015年七月9日 22:53 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938 "2015-07-09T22:53:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Robinson\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@Robinson\_Rodriguez](https://meta.discourse.org/u/Robinson_Rodriguez)
#### Post date: [2015年七月9日 22:53 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938/1 "2015-07-09T22:53:46Z")

</div>

I’m trying to create user fields for user’s sign up. But I’m getting the next in the production logs

```plaintext
Started POST "/admin/customize/user_fields" for 186.81.228.178 at 2015-07-09 19:45:22 +0000
Processing by Admin::UserFieldsController#create as */*
  Parameters: {"user_field"=>{"name"=>"Nombre", "description"=>"", "field_type"=>"text", "required"=>"true"}}
Completed 422 Unprocessable Entity in 34ms (Views: 0.4ms | ActiveRecord: 8.2ms)

```

---

<div class="post-metadata">

### Author: ![Robinson\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@Robinson\_Rodriguez](https://meta.discourse.org/u/Robinson_Rodriguez)
#### Post date: [2015年七月10日 01:17 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938/2 "2015-07-10T01:17:50Z")

</div>

The problem was that I was not filling up the description of the field. The only way of realize this was debugging in the controller.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015年七月10日 01:19 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938/3 "2015-07-10T01:19:35Z")

</div>

Still that might be a bug, can you check tomorrow @eviltrout?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2015年七月10日 16:31 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938/4 "2015-07-10T16:31:58Z")

</div>

This was a bug with the error message not being properly displayed. Fixed it here:

[https://github.com/discourse/discourse/commit/ac2f5cbdabf8eb5b375a0baa80e2e29227934aff](https://github.com/discourse/discourse/commit/ac2f5cbdabf8eb5b375a0baa80e2e29227934aff)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015年七月10日 17:38 UTC](https://meta.discourse.org/t/i-cant-create-user-fields/30938/5 "2015-07-10T17:38:48Z")

</div>


