# "unacceptable content-type: text/html" error response for all changePassword requests using Lock of iOS in swift

**URL:** <https://community.auth0.com/t/unacceptable-content-type-text-html-error-response-for-all-changepassword-requests-using-lock-of-ios-in-swift/7339>\
**Category:** Get Help\
**Tags:** forgot-password, swift, lock-for-ios, ios\
**Created:** [June 30, 2017, 5:58am UTC](https://community.auth0.com/t/unacceptable-content-type-text-html-error-response-for-all-changepassword-requests-using-lock-of-ios-in-swift/7339 "2017-06-30T05:58:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TipYourself\_Mike](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@TipYourself\_Mike](https://community.auth0.com/u/TipYourself_Mike)\
**Post date:** [June 30, 2017, 5:58am UTC](https://community.auth0.com/t/unacceptable-content-type-text-html-error-response-for-all-changepassword-requests-using-lock-of-ios-in-swift/7339/1 "2017-06-30T05:58:10Z")

</div>

I’m getting back an “unacceptable content-type: text/html” error for all change password requests regardless of whether or not they are successful.

We’re using Lock for iOS in swift3. Our code hasn’t change recently, but the response we are getting from Auth0 appears to have changed. I’m not able to find any documentation on a formatt change to our requests.

Anyone else having this issue?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [July 7, 2017, 7:36pm UTC](https://community.auth0.com/t/unacceptable-content-type-text-html-error-response-for-all-changepassword-requests-using-lock-of-ios-in-swift/7339/2 "2017-07-07T19:36:57Z")

</div>

There was an [update](https://github.com/auth0/Lock.swift/pull/440) in Lock iOS v1 that may be relevant for this situation. If you’re using v1 of this library verify if the issue still happens if you use version 1.29.2 of the library.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/unacceptable-content-type-text-html-error-response-for-all-changepassword-requests-using-lock-of-ios-in-swift/7339/3 "2018-03-02T05:55:05Z")

</div>


