KB-1315 "The record data does not exist, has been deleted, or you do not have sufficient privileges to access it" error thrown when accessing summary view of entity-backed record based on text primary key

Symptoms

When opening an entity-backed record in Appian 17.1, users may encounter the following error:

An Error Has Occurred
com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianException: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)

The following lines are then printed in the application server log:

ERROR com.appiancorp.rest.record.data.RecordRestService - Unable to retrieve record summary for record w/ type RecordType [id=32, uuid=<uuid>, name=<record name>, sourceTypeStr={http://www.appian.com/ae/types/2009}DataStoreEntity, sourceUuidStr=<uuid str>] and id <negative integer>
com.appiancorp.suiteapi.common.exceptions.AppianException: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)
...
ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
com.appiancorp.suiteapi.common.exceptions.AppianException: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianException: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)
...
Caused by: com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException: com.appiancorp.suiteapi.common.exceptions.AppianException: The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)

This error reproduces when all of the following conditions are met:

  • The entity-backed record is based on a data store entity with an ID of type Text.
  • The actual data for that particular record's ID in that data store entity is an integer.
  • The length of the ID is over 8 characters.

Cause

This issue has been addressed via AN-82036 in Appian 17.1 Hotfix Package B.

Action

Apply the latest hotfix to your Appian installation.

Affected Versions

This article applies to Appian 17.1.

Last Reviewed: March 2017

Related
Recommended