KB-1822 Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) causes failure to load a view

Symptoms

The following error displays in the browser while trying to load a record or report: 

#1267 - Illegal mix of collations (utf8mb4_unicode_ci,COERCIBLE) and (utf8mb4_general_ci,COERCIBLE) for operation 'substring_index'

Cause

This issue is seen when the tables called by the view have a different collation setup. 

Action

Cloud Environment

Ensure that the collation of all tables match by following these steps:  

  1. Access the database (https://<SITE-NAME>/database).
  2. Navigate to the table which is throwing the error.
  3. Open the "Operation" tab for the table.
  4. Set the Collation under "Table Option".

Self-managed Environment

Engage the DBA team responsible for maintaining the database.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: December 2018

Related
Recommended