# ERROR: Login request is missing required email

**URL:** <https://community.dreamfactory.com/t/error-login-request-is-missing-required-email/713>\
**Category:** REST API\
**Created:** [December 29, 2014, 12:53pm UTC](https://community.dreamfactory.com/t/error-login-request-is-missing-required-email/713 "2014-12-29T12:53:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![toddappleton](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/toddappleton/32/159_2.png) [@toddappleton](https://community.dreamfactory.com/u/toddappleton)\
**Post date:** [December 29, 2014, 2:46pm UTC](https://community.dreamfactory.com/t/error-login-request-is-missing-required-email/713/2 "2014-12-29T14:46:41Z")

</div>

If you are sending XML, see here:

> [@Help with XML parms on rest/user/session JSON works](https://community.dreamfactory.com/t/help-with-xml-parms-on-rest-user-session-json-works/675):
>
> Hi everyone, I can login via JSON no problem. Yet when I try using xml the response I get is: \<error\> \<context\>\</context\> \<message\>Login request is missing required password.\</message\> \<code\>400\</code\> \</error\> So from the parameters section in Swagger I change the Response & Parameter Content Types run in the body the following: JSON PASSED { "email": "user@example.com", "password": "1234", "duration": 2 } XML FAILED \<email\>user@exampl…

---

_[View the full topic](https://community.dreamfactory.com/t/error-login-request-is-missing-required-email/713)._
