databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

Better handling of AAD errors

Open nfx opened this issue 2 years ago • 0 comments

Error: failed request: inner token: oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_client",
"error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request 
is the client secret value, not the client secret ID, for a secret added to app 'XXX'.\r\n
Trace ID: YYY\r\nCorrelation ID: ZZZ\r\n
Timestamp: 2022-12-09 15:04:13Z","error_codes":[7000215],"timestamp":"2022-12-09 15:04:13Z","trace_id":"XXX",
"correlation_id":"XXX","error_uri":"https://login.microsoftonline.com/error?code=7000215"}

nfx avatar Dec 09 '22 15:12 nfx