# Got "Failed Exchange: Unauthorized" error after success Login

**URL:** <https://community.auth0.com/t/got-failed-exchange-unauthorized-error-after-success-login/128400>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [February 27, 2024, 6:08am UTC](https://community.auth0.com/t/got-failed-exchange-unauthorized-error-after-success-login/128400 "2024-02-27T06:08:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wnimlaor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wnimlaor/32/55197_2.png) [@wnimlaor](https://community.auth0.com/u/wnimlaor)\
**Post date:** [February 27, 2024, 6:08am UTC](https://community.auth0.com/t/got-failed-exchange-unauthorized-error-after-success-login/128400/1 "2024-02-27T06:08:15Z")

</div>

Hi,

I created the native Angular Ionic application in the dashboard and downloaded the example project. After I logged in, I got “Successfully logged in” and “Failed Exchange” in the log.

```auto
{
  "date": "2024-02-27T05:53:37.164Z",
  "type": "feacft",
  "description": "Unauthorized",
  "connection_id": "",
  "client_id": "FzsDcFLNVBjWi63SlsXHIhk2roVG6LXU",
  "client_name": null,
  "ip": "14.203.7.58",
  "user_agent": "Mobile Safari UI/WKWebView 0.0.0 / iOS 17.0.1",
  "details": {
    "code": " ****************************************** sNS"
  },
  "hostname": "dev-sunny.au.auth0.com",
  "user_id": "",
  "user_name": "",
  "auth0_client": {
    "name": "@auth0/auth0-angular",
    "version": "2.2.1",
    "env": {
      "angular/core": "16.2.12"
    }
  },
  "$event_schema": {
    "version": "1.0.0"
  },
  "log_id": "90020240227055337195251000000000000001223372051065314492",
  "_id": "90020240227055337195251000000000000001223372051065314492",
  "isMobile": true,
  "id": "90020240227055337195251000000000000001223372051065314492"
}

```

---

<div class="post-metadata">

**Author:** ![wnimlaor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wnimlaor/32/55197_2.png) [@wnimlaor](https://community.auth0.com/u/wnimlaor)\
**Post date:** [February 27, 2024, 11:33pm UTC](https://community.auth0.com/t/got-failed-exchange-unauthorized-error-after-success-login/128400/2 "2024-02-27T23:33:52Z")

</div>

![image](https://global.discourse-cdn.com/auth0/original/3X/f/d/fdcf3f1104a7397322d32a9f9643a420ee515845.png)

Looks like I have to set a **Token Endpoint Auth Method** to none in **Credentials** tab. After done this, it works now.

---

<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 12, 2024, 11:34pm UTC](https://community.auth0.com/t/got-failed-exchange-unauthorized-error-after-success-login/128400/3 "2024-03-12T23:34:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
