# You have not completed all the user fields API error

**URL:** <https://meta.discourse.org/t/you-have-not-completed-all-the-user-fields-api-error/56983>\
**Category:** Product Support\
**Created:** [06.Февраль.2017 15:55:30 UTC](https://meta.discourse.org/t/you-have-not-completed-all-the-user-fields-api-error/56983 "2017-02-06T15:55:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [06.Февраль.2017 16:24:51 UTC](https://meta.discourse.org/t/you-have-not-completed-all-the-user-fields-api-error/56983/2 "2017-02-06T16:24:51Z")

</div>

I just tried the same curl command on my local and its working fine:

```
$ curl -X POST "Content-Type: multipart/form-data;" -F "apc5acaefaf303ce47e64dd3182947df42b74ceef7b99f4b726dcced111babd" -F "api_username=discourse1" -F "name=My Name" -F "email=email@test.com" -F "password=Strong123Blah" -F "username=discourse3" "http://localhost:3000/users"
curl: (6) Could not resolve host: Content-Type

{"success":true,"active":false,"message":"\u003cp\u003eYou're almost done! We sent an activation mail to \u003cb\u003eemail@test.com\u003c/b\u003e. Please follow the instructions in the email to activate your account.\u003c/p\u003e\u003cp\u003eIf it doesn't arrive, check your spam folder, or try to log in again to send another activation mail.\u003c/p\u003e","user_id":2}

```

You shouldn’t be getting a redirect to login though, is your forum private?

---

_[View the full topic](https://meta.discourse.org/t/you-have-not-completed-all-the-user-fields-api-error/56983)._
