GoogleCloudPlatform / application-integration-management-toolkit

This tool lets you interact with Application Integration, Integration Connectors or Apigee Integration/Connector APIs. The tool lets you manage (create, del, get, list) integrations, connections etc.
Apache License 2.0
22 stars 16 forks source link

Integration export is working as expected with errorCatcherConfigs but deployment failing with below error if error cache ID refer inside other integration tasks. #131

Closed kondurure closed 1 year ago

kondurure commented 1 year ago

Thanks @srinandan. export is working as expected with errorCatcherConfigs but deployment failing with below error if error cache ID refer inside other integration tasks.

integrationcli version: v0.70.1-beta

ERROR: 2023/09/14 14:42:07 httpclient.go:129: error parsing response: unexpected end of JSON input Publish integration hl-shared-retry-failure-integration with version a55c3dbd-6203-4f50-8afa-5c6dc574629a { "error": { "code": 400, "message": "Tasks in normal workflow can not be used as start error tasks for another normal task JavaScriptTask", "status": "INVALID_ARGUMENT" } }

Error: Bad Request - malformed request syntax: { "error": { "code": 400, "message": "Tasks in normal workflow can not be used as start error tasks for another normal task JavaScriptTask", "status": "INVALID_ARGUMENT" } }

Originally posted by @kondurure in https://github.com/GoogleCloudPlatform/application-integration-management-toolkit/issues/127#issuecomment-1719613451

image

srinandan commented 1 year ago

I have a candidate fix. We will publish a new beta release