# Something went wrong

**URL:** <https://community.auth0.com/t/something-went-wrong/107824>\
**Category:** Get Help\
**Tags:** other-built-in-social-connections, connections\
**Created:** [May 25, 2023, 4:10pm UTC](https://community.auth0.com/t/something-went-wrong/107824 "2023-05-25T16:10:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![argun.autalipov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/argun.autalipov/32/44989_2.png) [@argun.autalipov](https://community.auth0.com/u/argun.autalipov)\
**Post date:** [May 25, 2023, 4:10pm UTC](https://community.auth0.com/t/something-went-wrong/107824/1 "2023-05-25T16:10:03Z")

</div>

When trying to login using windowslive(microsoft social connection), receiving the following error:

{  
“error”: “access\_denied”,  
“error\_description”: “Something went wrong”  
}

however, using Auth0 Management API, I can retrieve the access token of that user, meaning that authentication itself went fine. What could be the reasons?

---

<div class="post-metadata">

**Author:** ![argun.autalipov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/argun.autalipov/32/44989_2.png) [@argun.autalipov](https://community.auth0.com/u/argun.autalipov)\
**Post date:** [May 25, 2023, 4:17pm UTC](https://community.auth0.com/t/something-went-wrong/107824/2 "2023-05-25T16:17:25Z")

</div>

Additional infomation:

From Auth0 logs, I see that login indeed failed. The error message from logs looks as follows:

```auto
{
  "date": "2023-05-25T16:06:03.147Z",
  "type": "f",
  "description": "Something went wrong",
  "connection": "windowslive",
  "connection_id": "con_DOpe3n6Pkvk8DVSf",
  "client_id": "EuwWlJXOigi17flI0qZpRKq6mzIVxr2o",
  "client_name": "All Applications",
  "ip": "92.47.233.72",
  "user_agent": "Chrome 113.0.0 / Windows 10.0.0",
  "details": {
    "body": {},
    "qs": {
      "state": "Ev39LI9p0H9TYZT6fjXjVpQJJhJAUiqV"
    },
    "connection": "windowslive",
    "error": {
      "message": "Something went wrong",
      "oauthError": "access_denied",
      "type": "oauth-authorization"
    },
    "session_id": "nw71fKhAVez46xzRGHwdom2TsEOMoVh8",
    "stats": {
      "loginsCount": 8
    }
  },
  "hostname": "cooe-dev.auth0.com",
  "user_id": "windowslive|b0f07ccf5df7ebf7",
  "user_name": "argun.autalipov@panda-ventures.net",
  "strategy": "windowslive",
  "strategy_type": "social",
  "audience": "https://cooe-dev.auth0.com/userinfo",
  "scope": [
    "openid",
    "profile"
  ],
  "log_id": "90020230525160603797318000000000000001223372047766523771",
  "_id": "90020230525160603797318000000000000001223372047766523771",
  "isMobile": false,
  "id": "90020230525160603797318000000000000001223372047766523771"
}

```

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 25, 2023, 5:09pm UTC](https://community.auth0.com/t/something-went-wrong/107824/3 "2023-05-25T17:09:53Z")

</div>

Hi @argun.autalipov

Welcome to the Auth0 Community!

Can you dm me a tenant name with windowslive social connection error. I’m unable to find logs on the one linked to your account.

Have a great day!  
Dawid

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [June 6, 2023, 1:01pm UTC](https://community.auth0.com/t/something-went-wrong/107824/4 "2023-06-06T13:01:20Z")

</div>

For reference (the issue has been resolved in dm’s)

The issue occurred as an aftermath of a legacy code in rules. The code allowed only a hardcoded number of users to log in via windowslive social connection.

---

<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:** [June 20, 2023, 1:01pm UTC](https://community.auth0.com/t/something-went-wrong/107824/5 "2023-06-20T13:01:47Z")

</div>

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