Closed karanpopat closed 10 months ago
output.json
{
"args": {
"path": "my_path",
"secret": {
"key1": "value1",
"key2": "value2"
}
},
"http.create_secret": [
{
"status": "finished",
"data": {
"finished_at": "2023-12-04T06:08:31.204909Z",
"response_body": "",
"response_headers": {
"Cache-Control": "no-store",
"Content-Type": "application/json",
"Date": "Mon, 04 Dec 2023 06:08:31 GMT",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains"
},
"started_at": "2023-12-04T06:08:31.141864Z",
"status": "204 No Content",
"status_code": 204
}
}
]
}
Getting error
2023-12-04T11:41:40.619+0530 ERROR Error unmarshalling response body {"error": "unexpected end of JSON input"}
when there is no actual response expected from the POST HTTP call. The pipeline run succeeds with an error message for unmarshalling the response body. Haven't observed similar errors in other pipelines that have 204 responses.curl output