insert or update on table "SysLocalizableValue" violates foreign key constraint

23503: insert or update on table "SysLocalizableValue" violates foreign key constraint
This issue is linked to Creatio’s localization system. The table SysLocalizableValue stores

Root Cause: Redis Cache Conflict

The problem almost always comes from Redis, not the database.

If multiple Creatio environments (Dev, Test, Prod, etc.) share:

  • the same Redis server, and
  • the same Redis database index (DB number)

then their cached culture data becomes mixed. Creatio loads culture IDs from another environment, causing invalid keys and triggering the 23503 foreign key violation.

Solution : 

  • Use a different Redis database index for each Creatio instance in ConnectionString.
  • Flush the Redis.
  • Restart Creatio.

 

Like 2

Like

Share

0 comments
Show all comments