Azure Pipelines gate failing, SN API not returning JSON
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2019 07:50 AM
We have setup the Azure DevOps and SN integration.
Azure DevOps is complaining that the SN API is not returning JSON. Can anyone provide guidance?
The error below is on the ADO Pipeline:
==============================================================================
Task : ServiceNow change management
Description : Gate on status of new change request or an existing change request in ServiceNow.
Version : 1.150.0
Author : Microsoft
Help :
==============================================================================
2019-09-13T14:26:58.6739793Z POST https://xxxxxx.service-now.com//api/now/import/x_mioms_azpipeline_change_request_import
Request body: {
"u_correlation_id": "xxxxxxxxxxxxxxxxxxxxx",
"u_type": "Normal",
"u_x_mioms_azpi_eline_metadata": "Release: https://dev.azure.com/xxxxxxxxxx/xxxxxxx/_release?releaseId=9&_a=release-summary
EnvironmentName: Production
Requested By : xxxxxxxxx",
"u_short_description": "Deployment to Production of Release Release-9",
"u_description": "Deployment to Production of Release Release-9",
"u_requested_by_date": "2019-09-13 14:11:35",
"u_start_date": "2019-09-13 12:00:00",
"u_end_date": "2019-09-13 14:00:00"
}
Response Code: 0
Response: An error was encountered while processing request. Exception:
Exception Message: The request timed out after 20 seconds as no response was received. (type TimeoutException)
Evaluation of expression 'eq(jsonpath('$.result[0].status')[0], 'inserted')' failed.
Exception Message: Error parsing API response into a JSON object. (type DistributedTaskException)
Labels:
- Labels:
-
Integrations
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 11:29 AM
I am not sure what the relevance is. I am using the Azure DevOps Service Now Change Management Pipeline extension. I am not manually defining the API calls, the plugin is.