Skip to content

Unable to login: AADSTS70000: The provided value for the 'code' parameter is not valid. #1370

Description

@wrlu
  • I have a problem that makes me unable to login, log is here:
Authorize this app visiting:

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=22c49a**************************2546&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient

Enter the response uri: https://login.microsoftonline.com/common/oauth2/nativeclient?code=M.R3_BAY.13b4**************************bfbcd
onedrive.OneDriveException@src/onedrive.d(874): HTTP request returned status code 400 (Bad Request)
{
    "correlation_id": "145947**************************2ec3f8d",
    "error": "invalid_grant",
    "error_codes": [
        70000
    ],
    "error_description": "AADSTS70000: The provided value for the 'code' parameter is not valid.\r\nTrace ID: 68846eb**************************46e3bedae00\r\nCorrelation ID: 145947e5-**************************ec3f8d\r\nTimestamp: 2021-03-29 07:14:32Z",
    "error_uri": "https:\/\/login.microsoftonline.com\/error?code=70000",
    "timestamp": "2021-03-29 07:14:32Z",
    "trace_id": "68846**************************dae00"
}
----------------
??:? [0x5646370fa9d9]
??:? [0x5646370f9cb5]
??:? [0x5646370fab65]
??:? [0x5646370f8f58]
??:? [0x5646370f88c5]
??:? [0x5646371067a8]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll() [0x7f083a3a49db]
??:? _d_run_main2 [0x7f083a3a47ee]
??:? _d_run_main [0x7f083a3a465d]
??:? __libc_start_main [0x7f0839f900b2]
??:? [0x5646370d15ed]
  • I have visited this site https://account.live.com/consent/Manage to remove the OneDrive Free Client item and re-grant the permission via microsoft's page, but it is not work. :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions