When installing connect on forge apps the generic error Error performing sync with Connect is thrown

XMLWordPrintable

      Summary

      When running forge install a generic error is thrown when there is an issue with the installation.

      Request ID: 48357cc5bfcd48ed92b1438c339ef6c6
      Result: {
        "appInstallationTask": {
          "state": "FAILED",
          "errors": [
            {
              "message": "Error performing sync with Connect: Something went wrong while trying to sync your app with Connect. Please contact Atlassian support.",
              "extensions": {
                "errorType": "CONNECT_PLUGIN_CONNECT_SYNC_ERROR",
                "statusCode": 502
              }
            }
          ]
        }
      }
      
      Error: Error performing sync with Connect: Something went wrong while trying to sync your app with Connect. Please contact Atlassian support.
       

      This can occur for several reasons, for example

      • If the macro url is malformed, an error gets thrown internally and the install fails mysteriously with a 502 error
      • A condition is incorrectly formatted
      • Connect service is rejecting the webhook with non-HTTP 2xx error

      It would be best for the Forge CLI to surface the actual error from the Connect install system.

              Assignee:
              Unassigned
              Reporter:
              James Richards
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: