KB-1156 "An error occurred while retrieving the data" error thrown when accessing a record that queries a database

Symptoms

When accessing a record containing elements that query a database, the following pink box error modal will display:

An error occurred while retrieving the data.

Cause

There are a few possible causes for this issue:

  • There is a lock on the database.
  • There is too much data being pulled back.
  • The query timed out.

Action

To resolve the issue, consider the following:

  1. Check with your DBA on removing the lock on the database.
  2. Reconsider if the amount of data being pulled back is reasonable and possibly redesign/optimize the query.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: February 2017

Related
Recommended