# Authorization Error: The operation couldn’t be completed. (org.openid.appauth.general error -6.)"

**URL:** <https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525>\
**Category:** Questions\
**Created:** [August 22, 2018, 5:49pm UTC](https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525 "2018-08-22T17:49:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrita.ganguly](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@amrita.ganguly](https://devforum.okta.com/u/amrita.ganguly)\
**Post date:** [August 22, 2018, 5:49pm UTC](https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525/1 "2018-08-22T17:49:00Z")

</div>

I created a developer account in OKTA and created one new native iOS application but when I try to login to the app using the  
OktaAuth.login(username, password: password).start(withPListConfig: “Okta-PasswordFlow”, view: self)  
.then { tokenManager in  
self.dismissView()  
}  
.catch { error in  
self.activityIndicator.stopAnimating()  
self.errorField.text = error.localizedDescription  
print(“Failure! Received error: (error.localizedDescription)”)  
return  
}  
I keep getting the error Authorization Error: The operation couldn’t be completed. (org.openid.appauth.general error -6.)".  
Can you please help me understand why i am getting this error? Am i missing something.

---

<div class="post-metadata">

**Author:** ![liyanjun](https://avatars.discourse-cdn.com/v4/letter/l/bcef8e/32.png) [@liyanjun](https://devforum.okta.com/u/liyanjun)\
**Post date:** [October 11, 2018, 5:09am UTC](https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525/2 "2018-10-11T05:09:16Z")

</div>

have you solved this problem

---

<div class="post-metadata">

**Author:** ![Anibal](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@Anibal](https://devforum.okta.com/u/Anibal)\
**Post date:** [December 14, 2020, 5:08pm UTC](https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525/3 "2020-12-14T17:08:32Z")

</div>

Hi, did you solve this problem?? Thanks!

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 25, 2024, 11:48pm UTC](https://devforum.okta.com/t/authorization-error-the-operation-couldn-t-be-completed-org-openid-appauth-general-error-6/2525/4 "2024-01-25T23:48:29Z")

</div>

Closed on January 25, 2024, 11:48pm UTC


