Docs

Log into read the version of docs relevant to your site.

"Extra key" error in the language pack: How to resolve

Problem Statement

You see an "Extra key" error when uploading a language pack. The error message includes the directory path and the entity (addon or plan) causing the issue.

Solution

This error occurs when the language pack contains keys for addons or plans that no longer exist on your site. The pack's keys must match your current site context. Remove the obsolete references and upload again.

Configuration steps

Example: Error shows Extra key: dy.addon.name.Service-Charge-New in de/mandatory/addons.csv. The addon "Service-Charge-New" no longer exists on your site.

  1. Confirm the addon or plan in the error is deleted or no longer exists.
  2. Go to Settings > Configure Chargebee > Languages and download the language pack.
  3. Navigate to the path in the error (for example, de > Mandatory > addons.csv).
  4. Find and delete the rows that reference the obsolete entity (for example, addon.name.Service-Charge-New).
  5. Save the file in .csv format.
  6. Repeat for all entities listed in the error messages.
  7. Upload the updated language pack.

This error often appears when uploading an older language pack. The language pack keys must match your current site context (addons and plans that exist on your site). After removing obsolete keys, the error should no longer occur.

Was this article helpful?