Pipelines and Deployments - Configure environments gives Could not connect to the environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 01:08 PM - edited 05-09-2024 03:57 PM
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.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 08:06 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 12:07 PM - edited 05-15-2024 12:08 PM
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.