Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: Bitbucket Pipelines - endpoints_resolution_error

Luis Plaza
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2022
Hello Community,
I am getting this error from a pipeline that performs rest calls to Microsoft Graph. Any help how this can be solved?
Happy new year 2022!
Luis
ClientAuthError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://login.microsoftonline.com/x/v2.0/.well-known/openid-configuration

at ClientAuthError.AuthError [as constructor] (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:481:24)

at new ClientAuthError (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:762:28)

at Function.ClientAuthError.createEndpointDiscoveryIncompleteError (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:799:16)

at Function.<anonymous> (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:7097:47)

at step (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:79:23)

at Object.throw (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:60:53)

at rejected (/opt/atlassian/pipelines/agent/build/node_modules/@azure/msal-common/dist/index.cjs.js:51:65)

at processTicksAndRejections (node:internal/process/task_queues:96:5) {

errorCode: 'endpoints_resolution_error',

errorMessage: 'Error: could not resolve endpoints. Please check network and try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from: https://login.microsoftonline.com/x/v2.0/.well-known/openid-configuration',

subError: '',

}







 

1 answer

1 accepted

1 vote
Answer accepted
Luis Plaza
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2022

SOLVED: The defined pipeline variables interfere with those defined in the .env file if they have the same name ( Used by npm package 'dotenv' )

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events