Forge deployment failed to production

Hello everyone,

Has anyone found any solution to the unknown error that occurs when deploying an application to production using forge.

I would be very grateful if someone could help me with this problem.

Thanks

Running forge lint...
No issues found.

▶️  GraphQL https://api.atlassian.com/graphql
Query: 
          query forge_cli_getMigrationKeys($id: ID!, $key: String!) {
            app(id: $id) {
              environmentByKey(key: $key) {
                id
                versions(first: 1) {
                  edges {
                    node {
                      isLatest
                      migrationKeys {
                        jira
                        confluence
                      }
                    }
                  }
                }
              }
              marketplaceApp {
                appKey
              }
            }
          }
     
Variables: {
  "id": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
  "key": "production"
}
◀️  GraphQL
Request ID: 177f038410711909
Result: {
  "app": {
    "environmentByKey": {
      "id": "c5e55c8c-3f5b-4279-8376-9c32d743727e",
      "versions": {
        "edges": [
          {
            "node": {
              "isLatest": true,
              "migrationKeys": null
            }
          }
        ]
      }
    },
    "marketplaceApp": null
  }
}
▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      query forge_cli_getApplicationInstallations($id: ID!) {
        app(id: $id) {
          environments {
            key
            installations {
              id
              installationContext,
              version {
                isLatest
              }
            }
          }
        }
      }
    
Variables: {
  "id": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba"
}
◀️  GraphQL
Request ID: 6d1d9a34ac5ab1b7
Result: {
  "app": {
    "environments": [
      {
        "key": "production",
        "installations": []
      },
      {
        "key": "staging",
        "installations": []
      },
      {
        "key": "default",
        "installations": [
          {
            "id": "1a2b0311-e361-4602-a830-606334c5b04a",
            "installationContext": "ari:cloud:jira::site/2f93db24-ed49-4061-b032-14c62d80de2d",
            "version": {
              "isLatest": true
            }
          },
          {
            "id": "f5a16881-1014-498a-a478-a692ec8a30a1",
            "installationContext": "ari:cloud:identity::site/2f93db24-ed49-4061-b032-14c62d80de2d",
            "version": {
              "isLatest": true
            }
          }
        ]
      }
    ]
  }
}
▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      query forge_cli_getHostnameForTenantContexts($cloudIds: [ID!]!) {
        tenantContexts(cloudIds: $cloudIds) {
          hostName
        }
      }
    
Variables: {
  "cloudIds": [
    "2f93db24-ed49-4061-b032-14c62d80de2d"
  ]
}
◀️  GraphQL
Request ID: e4a22cc0c6274a76
Result: {
  "tenantContexts": [
    {
      "hostName": "jira-develop.atlassian.net"
    }
  ]
}
Deploying your app to production...

ℹ Packaging app files
  Packaging bundled files
  Packaging the manifest.yml file from /Users/josefranciscomateocarrasco/Documents/Proyectos/Jira Cloud Apps/Jira Complement/jmc-fields-info/manifest.yml
  File added to archive: index.js
  File added to archive: index.js.map
  File added to archive: manifest.yml
  Archive created: /var/folders/d3/vsky7g555sj63xghc8k4x6s00000gn/T/tmp-42085r5Tf5Du4kBh.zip
ℹ Uploading app
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      mutation forge_cli_getDeploymentUrl($input: CreateAppDeploymentUrlInput!) {
        createAppDeploymentUrl(input: $input) {
          success
          errors {
            message
            extensions {
              errorType
            }
          }
          deploymentUrl
        }
      }
    
Variables: {
  "input": {
    "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba"
  }
}
  ◀️  GraphQL
Request ID: fb63ade54c935ebd
Result: {
  "createAppDeploymentUrl": {
    "success": true,
    "errors": null,
    "deploymentUrl": "https://deployment-artifacts-372253104996-us-west-2.s3.us-west-2.amazonaws.com/b339893b-a3df-4bd5-8978-08dcee22f4ba_a8d83fd3-abf8-4120-bfcf-3dd2676eb23a?Content-Type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAVNLADTNSFZSDVUCB%2F20211027%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211027T190010Z&X-Amz-Expires=300&X-Amz-Security-Token=FwoGZXIvYXdzEAwaDCPju5QW%2BGrK0ZzCfiLIAcmWaS9Susa96JQ45xmkwEGCw3j0btYp4rMEuot0xWMictMsAzxlhXNYRIgNKUvzgLCdmboa4XkEBWy9TW1Rb%2FtQC44rGX4WRSJD1ayQu0Wu89cwJFpv7IwZHuPYZtsx%2F1h1lMUAjAU8J7GGb9v4hMnUj9t1nWKy8UoGnYzy3YeMLNBjzKQ4G2JEfgG1OHQKxUonCPWPq5wU9n60z2J%2FJUmd6kdrvbOzIRW3dGMBhG8vnLnGhAQa5YP4iYHuTrmto0C%2FuDqXXnjyKJW85osGMi2QvdFnabv5rZFg9JOxdwoHmc5kF%2B2QIrLnGHViERSLjeUcOPHZWY2VyBVwyYI%3D&X-Amz-Signature=b3b995a1a7e1dd384f0789449138a359ddcfaab46e8e66c89df53c84d91403f0&X-Amz-SignedHeaders=host"
  }
}
  Uploading archive to https://deployment-artifacts-372253104996-us-west-2.s3.us-west-2.amazonaws.com/b339893b-a3df-4bd5-8978-08dcee22f4ba_a8d83fd3-abf8-4120-bfcf-3dd2676eb23a?Content-Type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAVNLADTNSFZSDVUCB%2F20211027%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211027T190010Z&X-Amz-Expires=300&X-Amz-Security-Token=FwoGZXIvYXdzEAwaDCPju5QW%2BGrK0ZzCfiLIAcmWaS9Susa96JQ45xmkwEGCw3j0btYp4rMEuot0xWMictMsAzxlhXNYRIgNKUvzgLCdmboa4XkEBWy9TW1Rb%2FtQC44rGX4WRSJD1ayQu0Wu89cwJFpv7IwZHuPYZtsx%2F1h1lMUAjAU8J7GGb9v4hMnUj9t1nWKy8UoGnYzy3YeMLNBjzKQ4G2JEfgG1OHQKxUonCPWPq5wU9n60z2J%2FJUmd6kdrvbOzIRW3dGMBhG8vnLnGhAQa5YP4iYHuTrmto0C%2FuDqXXnjyKJW85osGMi2QvdFnabv5rZFg9JOxdwoHmc5kF%2B2QIrLnGHViERSLjeUcOPHZWY2VyBVwyYI%3D&X-Amz-Signature=b3b995a1a7e1dd384f0789449138a359ddcfaab46e8e66c89df53c84d91403f0&X-Amz-SignedHeaders=host...
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      mutation forge_cli_getHostedResourcesUploadUrls($input: CreateHostedResourceUploadUrlInput!) {
        createHostedResourceUploadUrl(input: $input) {
          success
          errors {
            message
            extensions {
              errorType
            }
          }
          preSignedUrls {
            uploadUrl
            uploadFormData
          }
          uploadId
        }
      }
  
Variables: {
  "input": {
    "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
    "environmentKey": "production",
    "resourceKeys": [
      "main"
    ]
  }
}
  ◀️  GraphQL
Request ID: 3511f02fc405c05f
Result: {
  "createHostedResourceUploadUrl": {
    "success": true,
    "errors": null,
    "preSignedUrls": [
      {
        "uploadUrl": "https://s3.us-west-2.amazonaws.com/forge-cdn-tmp-prod",
        "uploadFormData": {
          "key": "b339893b-a3df-4bd5-8978-08dcee22f4ba/c5e55c8c-3f5b-4279-8376-9c32d743727e/ed3f09a0-77a5-4ac2-aedb-b1fa20ec5322/main.zip",
          "bucket": "forge-cdn-tmp-prod",
          "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
          "X-Amz-Credential": "ASIAVNLADTNSFYLY2EXX/20211027/us-west-2/s3/aws4_request",
          "X-Amz-Date": "20211027T190018Z",
          "X-Amz-Security-Token": "FwoGZXIvYXdzEAwaDCEHsS1LQu3P/YRzliLIATS0SE8YU+t/Cre9+K3YydQZw8PHVyBMyT2cuIHfGoLOLEK9kS9evin6dFKVI2b167MCAhxZzQSmwibBUqj8zWK3DoXjlJwZ/oVEOey7EIs8KcANeD5U+Uv85EvcmZX+nejk/hvFk5inzptgJb5gU40XTcnw3OxdiKB5jqMSnUMsE3ANuph/1xrRG8JJLzZUzvH3wCuHVL1EPY8PPm4TDDNq4UYkZCbFLmWR+wmcqPk6SA12iTx8r5sa2f1BNHPbYnivt+t1pq3oKIe65osGMi0EPPc9k0X2fosTqk7oB2+RZickwTpuQRUo05+jjTJSAP0xDCbtRlBBG4roVr8=",
          "Policy": "eyJleHBpcmF0aW9uIjoiMjAyMS0xMC0yN1QxOTowNToxOFoiLCJjb25kaXRpb25zIjpbWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCw1MDAwMDAwMF0sWyJlcSIsIiRDb250ZW50LVR5cGUiLCJhcHBsaWNhdGlvbi96aXAiXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsImIzMzk4OTNiLWEzZGYtNGJkNS04OTc4LTA4ZGNlZTIyZjRiYS9jNWU1NWM4Yy0zZjViLTQyNzktODM3Ni05YzMyZDc0MzcyN2UvZWQzZjA5YTAtNzdhNS00YWMyLWFlZGItYjFmYTIwZWM1MzIyL21haW4iXSxbImVxIiwiJGFjbCIsImJ1Y2tldC1vd25lci1mdWxsLWNvbnRyb2wiXSx7ImtleSI6ImIzMzk4OTNiLWEzZGYtNGJkNS04OTc4LTA4ZGNlZTIyZjRiYS9jNWU1NWM4Yy0zZjViLTQyNzktODM3Ni05YzMyZDc0MzcyN2UvZWQzZjA5YTAtNzdhNS00YWMyLWFlZGItYjFmYTIwZWM1MzIyL21haW4uemlwIn0seyJidWNrZXQiOiJmb3JnZS1jZG4tdG1wLXByb2QifSx7IlgtQW16LUFsZ29yaXRobSI6IkFXUzQtSE1BQy1TSEEyNTYifSx7IlgtQW16LUNyZWRlbnRpYWwiOiJBU0lBVk5MQURUTlNGWUxZMkVYWC8yMDIxMTAyNy91cy13ZXN0LTIvczMvYXdzNF9yZXF1ZXN0In0seyJYLUFtei1EYXRlIjoiMjAyMTEwMjdUMTkwMDE4WiJ9LHsiWC1BbXotU2VjdXJpdHktVG9rZW4iOiJGd29HWlhJdllYZHpFQXdhRENFSHNTMUxRdTNQL1lSemxpTElBVFMwU0U4WVUrdC9DcmU5K0szWXlkUVp3OFBIVnlCTXlUMmN1SUhmR29MT0xFSzlrUzlldmluNmRGS1ZJMmIxNjdNQ0FoeFp6UVNtd2liQlVxajh6V0szRG9YamxKd1ovb1ZFT2V5N0VJczhLY0FOZUQ1VStVdjg1RXZjbVpYK25lamsvaHZGazVpbnpwdGdKYjVnVTQwWFRjbnczT3hkaUtCNWpxTVNuVU1zRTNBTnVwaC8xeHJSRzhKSkx6WlV6dkgzd0N1SFZMMUVQWThQUG00VERETnE0VVlrWkNiRkxtV1Ird21jcVBrNlNBMTJpVHg4cjVzYTJmMUJOSFBiWW5pdnQrdDFwcTNvS0llNjVvc0dNaTBFUFBjOWswWDJmb3NUcWs3b0IyK1JaaWNrd1RwdVFSVW8wNStqalRKU0FQMHhEQ2J0UmxCQkc0cm9Wcjg9In1dfQ==",
          "X-Amz-Signature": "972f7204082121f6315a69d35abd155f2c878942c63f8df36ea124832dadce87"
        }
      }
    ],
    "uploadId": "ed3f09a0-77a5-4ac2-aedb-b1fa20ec5322"
  }
}
  Uploading resources
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
      mutation forge_cli_deployApplication($input: CreateAppDeploymentInput!) {
        createAppDeployment(input: $input) {
          success
          errors {
            message
            extensions {
              errorType
            }
          }
          deployment {
            id
          }
        }
      }
    
Variables: {
  "input": {
    "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
    "environmentKey": "production",
    "artifactUrl": "https://deployment-artifacts-372253104996-us-west-2.s3.us-west-2.amazonaws.com/b339893b-a3df-4bd5-8978-08dcee22f4ba_a8d83fd3-abf8-4120-bfcf-3dd2676eb23a?Content-Type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAVNLADTNSFZSDVUCB%2F20211027%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20211027T190010Z&X-Amz-Expires=300&X-Amz-Security-Token=FwoGZXIvYXdzEAwaDCPju5QW%2BGrK0ZzCfiLIAcmWaS9Susa96JQ45xmkwEGCw3j0btYp4rMEuot0xWMictMsAzxlhXNYRIgNKUvzgLCdmboa4XkEBWy9TW1Rb%2FtQC44rGX4WRSJD1ayQu0Wu89cwJFpv7IwZHuPYZtsx%2F1h1lMUAjAU8J7GGb9v4hMnUj9t1nWKy8UoGnYzy3YeMLNBjzKQ4G2JEfgG1OHQKxUonCPWPq5wU9n60z2J%2FJUmd6kdrvbOzIRW3dGMBhG8vnLnGhAQa5YP4iYHuTrmto0C%2FuDqXXnjyKJW85osGMi2QvdFnabv5rZFg9JOxdwoHmc5kF%2B2QIrLnGHViERSLjeUcOPHZWY2VyBVwyYI%3D&X-Amz-Signature=b3b995a1a7e1dd384f0789449138a359ddcfaab46e8e66c89df53c84d91403f0&X-Amz-SignedHeaders=host",
    "hostedResourceUploadId": "ed3f09a0-77a5-4ac2-aedb-b1fa20ec5322"
  }
}
  ◀️  GraphQL
Request ID: db1590677b465819
Result: {
  "createAppDeployment": {
    "success": true,
    "errors": null,
    "deployment": {
      "id": "10"
    }
  }
}
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
        query forge_cli_getApplicationDeploymentStatus($appId: ID!, $environmentKey: String!, $id: ID!) {
          appDeployment(appId: $appId, environmentKey: $environmentKey, id: $id) {
            status
            errorDetails {
              code
              message
              fields
            }
            stages {
              description
              events {
                __typename
                stepName
                createdAt
                ...on AppDeploymentLogEvent {
                  message
                  level
                }
                ...on AppDeploymentSnapshotLogEvent {
                  message
                  level
                }
                ... on AppDeploymentTransitionEvent {
                  newStatus
                }
              }
            }
          }
        }
      
Variables: {
  "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
  "environmentKey": "production",
  "id": "10"
}
  ◀️  GraphQL
Request ID: 39af6c4b50a69f66
Result: {
  "appDeployment": {
    "status": "IN_PROGRESS",
    "errorDetails": null,
    "stages": [
      {
        "description": "Validating manifest",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.216Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.442Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.443Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.445Z",
            "message": "Upload URL is valid",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.670Z",
            "message": "Found manifest file",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.672Z",
            "message": "Manifest is a valid YAML",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.673Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.675Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.788Z",
            "message": "Manifest passed common validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.789Z",
            "message": "Manifest doesn't have forbidden modules",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.790Z",
            "message": "Manifest passed function names validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.791Z",
            "message": "Manifest passed cleanup function validation",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.792Z",
            "newStatus": "DONE"
          }
        ]
      },
      {
        "description": "Snapshotting functions",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Generate snapshot step",
            "createdAt": "2021-10-27T19:00:23.794Z",
            "newStatus": "STARTED"
          }
        ]
      },
      {
        "description": "Deploying to environment",
        "events": []
      }
    ]
  }
}
ℹ Validating manifest
  Upload URL is valid
  Found manifest file
  Manifest is a valid YAML
  Manifest passed common validations
  Manifest doesn't have forbidden modules
  Manifest passed function names validations
  Manifest passed cleanup function validation
ℹ Snapshotting functions
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
        query forge_cli_getApplicationDeploymentStatus($appId: ID!, $environmentKey: String!, $id: ID!) {
          appDeployment(appId: $appId, environmentKey: $environmentKey, id: $id) {
            status
            errorDetails {
              code
              message
              fields
            }
            stages {
              description
              events {
                __typename
                stepName
                createdAt
                ...on AppDeploymentLogEvent {
                  message
                  level
                }
                ...on AppDeploymentSnapshotLogEvent {
                  message
                  level
                }
                ... on AppDeploymentTransitionEvent {
                  newStatus
                }
              }
            }
          }
        }
      
Variables: {
  "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
  "environmentKey": "production",
  "id": "10"
}
  ◀️  GraphQL
Request ID: 10cbbadd4bfa76e8
Result: {
  "appDeployment": {
    "status": "IN_PROGRESS",
    "errorDetails": null,
    "stages": [
      {
        "description": "Validating manifest",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.216Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.442Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.443Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.445Z",
            "message": "Upload URL is valid",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.670Z",
            "message": "Found manifest file",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.672Z",
            "message": "Manifest is a valid YAML",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.673Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.675Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.788Z",
            "message": "Manifest passed common validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.789Z",
            "message": "Manifest doesn't have forbidden modules",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.790Z",
            "message": "Manifest passed function names validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.791Z",
            "message": "Manifest passed cleanup function validation",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.792Z",
            "newStatus": "DONE"
          }
        ]
      },
      {
        "description": "Snapshotting functions",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Generate snapshot step",
            "createdAt": "2021-10-27T19:00:23.794Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Generate snapshot step",
            "createdAt": "2021-10-27T19:00:24.665Z",
            "newStatus": "DONE"
          }
        ]
      },
      {
        "description": "Deploying to environment",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate hosted resource upload step",
            "createdAt": "2021-10-27T19:00:24.673Z",
            "newStatus": "STARTED"
          }
        ]
      }
    ]
  }
}
ℹ Deploying to environment
  ▶️  GraphQL https://api.atlassian.com/graphql
Query: 
        query forge_cli_getApplicationDeploymentStatus($appId: ID!, $environmentKey: String!, $id: ID!) {
          appDeployment(appId: $appId, environmentKey: $environmentKey, id: $id) {
            status
            errorDetails {
              code
              message
              fields
            }
            stages {
              description
              events {
                __typename
                stepName
                createdAt
                ...on AppDeploymentLogEvent {
                  message
                  level
                }
                ...on AppDeploymentSnapshotLogEvent {
                  message
                  level
                }
                ... on AppDeploymentTransitionEvent {
                  newStatus
                }
              }
            }
          }
        }
      
Variables: {
  "appId": "ari:cloud:ecosystem::app/b339893b-a3df-4bd5-8978-08dcee22f4ba",
  "environmentKey": "production",
  "id": "10"
}
  ◀️  GraphQL
Request ID: 134faf46710ad4cb
Result: {
  "appDeployment": {
    "status": "FAILED",
    "errorDetails": {
      "code": "INTERNAL_SERVER_ERROR",
      "message": "An unexpected error occurred",
      "fields": null
    },
    "stages": [
      {
        "description": "Validating manifest",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.216Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Init deployment",
            "createdAt": "2021-10-27T19:00:23.442Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.443Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.445Z",
            "message": "Upload URL is valid",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.670Z",
            "message": "Found manifest file",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.672Z",
            "message": "Manifest is a valid YAML",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Download manifest",
            "createdAt": "2021-10-27T19:00:23.673Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.675Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.788Z",
            "message": "Manifest passed common validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.789Z",
            "message": "Manifest doesn't have forbidden modules",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.790Z",
            "message": "Manifest passed function names validations",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.791Z",
            "message": "Manifest passed cleanup function validation",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate manifest",
            "createdAt": "2021-10-27T19:00:23.792Z",
            "newStatus": "DONE"
          }
        ]
      },
      {
        "description": "Snapshotting functions",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Generate snapshot step",
            "createdAt": "2021-10-27T19:00:23.794Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Generate snapshot step",
            "createdAt": "2021-10-27T19:00:24.665Z",
            "newStatus": "DONE"
          }
        ]
      },
      {
        "description": "Deploying to environment",
        "events": [
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate hosted resource upload step",
            "createdAt": "2021-10-27T19:00:24.673Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Validate hosted resource upload step",
            "createdAt": "2021-10-27T19:00:25.544Z",
            "newStatus": "DONE"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:25.553Z",
            "newStatus": "STARTED"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:25.554Z",
            "message": "Found 1 function definitions",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:25.555Z",
            "message": "Deploying \"resolver\" function",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:25.843Z",
            "message": "Deploying function \"resolver\" for the first time",
            "level": "INFO"
          },
          {
            "__typename": "AppDeploymentLogEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:26.057Z",
            "message": "Deployment failed with unknown error",
            "level": "ERROR"
          },
          {
            "__typename": "AppDeploymentTransitionEvent",
            "stepName": "Release Lambda functions",
            "createdAt": "2021-10-27T19:00:26.058Z",
            "newStatus": "FAILED"
          }
        ]
      }
    ]
  }
}
  Found 1 function definitions
  Deploying "resolver" function
  Deploying function "resolver" for the first time
  Deployment failed with unknown error

Error: Deployment failed

Error: Deployment failed
    at ArtifactDeployer.handleErrorEvent (/usr/local/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:151:15)
    at ArtifactDeployer.pollAndCheckEvents (/usr/local/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:61:18)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async ArtifactDeployer.monitorDeployment (/usr/local/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:72:28)
    at async ArtifactDeployer.deploy (/usr/local/lib/node_modules/@forge/cli/out/deploy/deployer/deployer.js:36:9)
    at async PackageUploadDeployCommand.execute (/usr/local/lib/node_modules/@forge/cli/out/deploy/package-upload-deploy.js:14:9)
    at async CommandLineUI.displayProgress (/usr/local/lib/node_modules/@forge/cli/node_modules/@forge/cli-shared/out/ui/command-line-ui.js:44:28)
    at async DeployView.reportDeploymentProgress (/usr/local/lib/node_modules/@forge/cli/out/command-line/view/deploy-view.js:50:24)
    at async DeployController.run (/usr/local/lib/node_modules/@forge/cli/out/command-line/controller/deploy-controller.js:122:27)
    at async Command.actionProcessor (/usr/local/lib/node_modules/@forge/cli/out/command-line/command.js:74:32)

Hi @JoseMateoCarrasco, this error is likely being caused by an issue that’s being worked on right now. I just got word that its been resolved. Can you try it again?

1 Like

Hi @nmansilla , it’s all worked out, thank you very much