Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,845
Community Members
 
Community Events
168
Community Groups

ERROR: Bitbucket Pipelines - endpoints_resolution_error

Edited
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

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

Atlassian Community Events