Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

126 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you