KB-2298 AI Skill fails to import and/or export

Symptoms

When importing or exporting an AI Skill, users may encounter one or more of the following symptoms:

Using Compare & Deploy with AI Skills can result in a 504 error during export.

The deployment.log for the package will contain 504 errors.

aiSkill <id> <uuid>: The data for aiSkill [id=<id> uuid=<uuid>] could not be retrieved for export. Cause: java.lang.RuntimeException: com.appiancorp.rdo.client.invoker.ApiException: <html>

<head><title>504 Gateway Time-out</title></head>

<body>

<center><h1>504 Gateway Time-out</h1></center>

</body>

</html>

(APNX-1-4071-002)

If the AI Skill is successfully exported manually, the following error is observed upon import inside the deployment.log when the Inspect feature is used:

YYYY-MM-DD HH:MM:SS.mmm DEBUG aiSkill <uuid> Creating object.
YYYY-MM-DD HH:MM:SS.mmm ERROR aiSkill <uuid> An error occurred while creating aiSkill [uuid=<uuid>]: java.lang.RuntimeException: com.appiancorp.rdo.client.invoker.ApiException: (APNX-1-4071-007)
com.appiancorp.ix.ConsumerException: type=aiSkill, srcId=<srcId>, dstId=null, cause=java.lang.RuntimeException: com.appiancorp.rdo.client.invoker.ApiException: , level=ERROR, object=com.appiancorp.object.remote.aiskill.AiSkillRemoteHaul@22bbc641

Cause

Each AI Skill takes an estimated time of 4 minutes to export, but SAIL synchronous requests are cancelled by the web server after 5 mins, which results in a web server timeout indicated by the 504 error code.

Action

This issue has been reported to the Appian Product Team and is under investigation. Please follow the actions in the Workaround section to remediate the issue.

Workaround

Deploying AI Skills must be performed manually.

  1. The package must contain only the AI Skill.
  2. Manually export the package.
  3. Manually import the package without inspection.

Should the issue persist, please open a support case with Appian Support.

Affected Versions

This article applies to all versions of Appian Cloud with AI Skills.

Last Reviewed: March 2024

Related
Recommended