Pipelines and Deployments - Configure environments gives Could not connect to the environment.

Sri29
Tera Contributor

Am using Pipelines and Deployments Guided Setup to configure set of environments in my Production instance. Below are details specific to instance.

 

Name: myName

Instance Type: Production

Instance URL: <https://my.service-now.com>

Instance Id: from stats.do

Application: Global 

Instance credential: <test instance>

Is Controller.?  Yes

 

ERROR: Could not connect to the environment. [Method failed: (/api/sn_pipeline/pipeline/validate_connection) with code: 401 - Invalid username/password combo]

 

Validating the connection is failing with above error. Please advise.?

2 REPLIES 2

Sri29
Tera Contributor

Any responses whether required more details is appreciated. I believe this is basic configuration to have pipeline setup. It would be helpful if there is more documentation available to diagnose the problem. 

Edoardo M
ServiceNow Employee
ServiceNow Employee

Hi @Sri29,

please review the following NowCreate guide, it contains a lot of information and links to resources and docs: ServiceNow Development Pipeline Management Guide.

 

About your authorisation issue (401), please make sure that the credentials are for the environment you're targeting, e.g.:

  • Instance Type: Production
  • Instance credential: <Prod instance> instead of <Test instance>

 

Please mark reply as Helpful/Correct, if applicable. Thanks!

 

BR,

Edo


Please mark it as helpful and accept it as a solution if it helps you in any way.