You are currently reviewing an older revision of this page.

KB-1279 "We cannot have any import failures" error thrown in the application server log after attempting to create a Quick App

Symptoms

When attempting to create a Quick App, the following error message is returned:

Quick App Not Created - Oops! Something wen wrong and we couldn't create your Quick App. Nothing has currently been created. 
You can try to create your Quick App again, but if it continues failing please contact a system administrator.

In the application server log, the following error can be seen:

ERROR com.appiancorp.object.quickapps.QuickAppObjectType - Failure importing object:
...
cause=com.appiancorp.ix.binding.UnresolvedReferencesException: type=content, unresolvedSrcIds=[UUID]
...
ERROR com.appiancorp.object.quickapps.QuickAppObjectType - Failed to create a new quick app
java.lang.IllegalStateException: We cannot have any import failures

Cause

When creating a Quick App, system objects are imported from the Appian installation. The error is seen when the name of one of the system objects imported conflicts with one of the existing objects in the Appian designer. This results in an import failure, and ultimately prevents the creation of the Quick App.

Action

Locate the conflict by using the UUID provided in the error description. Once the name of the conflicting object is found, remove or rename it, and recreate the Quick App.

Notes:

  1. In order to locate the object, one can find it manually in the /designer interface or use the Content Details By UUID shared component.

  2. In order to successfully rename the object:

    1. Export the object and remove the rule from the system.
    2. Modify the name in the XML file to something else. An example is shown below:
      XML snippet before changes:
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <contentHaul xmlns:a="http://www.appian.com/ae/types/2009">
          <rule>
              <name>test_KB1279</name>
              <uuid>_a-0001dcff-f301-8000-9ba2-011c48011c48_42670</uuid> 
      ...
      
      XML snippet after changing the name:
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <contentHaul xmlns:a="http://www.appian.com/ae/types/2009">
          <rule>
              <name>test_KB1279_name_change</name>
              <uuid>_a-0001dcff-f301-8000-9ba2-011c48011c48_42670</uuid> 
      ...
      

Affected Versions

This article applies to Appian 16.2 and later.

Last Reviewed: March 2017