Overview
When trying to reply or update a ticket from the Staff Control panel, you might get the following error: Uncaught Exception: Invalid Data Provided in ./__swift/library/Data/class.SWIFT_DataID.php:70
There are several possible reasons why this problem may occur:
- Outdated templates and languages
- Outdated user profiles or organizations
- Outdated product version (4.93.16 and older)
Solution
This is a known problem for Kayako Classic versions 4.93.16 and older. If you are still on such a product version, it is recommended to update to the latest version to resolve the issue, see Upgrading or Downgrading Your Kayako Classic Download Helpdesk.
Otherwise, the first thing to consider is to check whether you have outdated templates and languages. When you log in to the admin control panel, you will typically see alerts from the home screen related to outdated templates and languages. When you see these alerts, it's a good sign to update your templates and languages.
Restoring Languages
NOTES:
- Take a backup copy before performing the restore by navigating to Admin CP > Languages > Import/Export > Export.
- You need admin access with "update languages and language phrases" permission to perform the steps below.
For restoring languages, navigate to Admin CP > Languages > Restore > Search the languages > Select the phrases > Restore.
Restoring Templates
NOTE: You need admin access with "Restore templates to originals" permission to perform the steps below.
For the restoring templates, follow these steps:
- Navigate to Admin Control Panel
- Click Templates and click Restore.
- Ensure the 'Yes' radio button is selected for 'Out of date'.
- Click the Search button at the top of the section.
- You will see a list of any of the templates that you had modified that need to be updated to the newest versions. Select all the templates by clicking the checkbox in the header row.
NOTE: This is an excellent opportunity to make sure you have local backups of your modified templates. Before doing the next step, you may want to visit the Managing Your Template article to learn more about managing your template modifications. - When you are ready, click the Restore button on the page to overwrite your modified templates with the new versions.
Updating the User and the User's Organization
If the problem persists after restoring languages and templates, or if there are no alerts pertaining to outdated languages and templates, consider updating the user and the organizations. Check the user and the organization to which the user belongs to on the ticket where the error is appearing. Once you have identified this information, follow these steps:
NOTE: You need staff access with "update users and user organizations" permission to perform the steps below.
To Update the User:
- Navigate to Staff Control Panel.
- Click Manage Users.
- Search and open the relevant user account.
- Without doing anything, click the Update button.
To Update the User's Organization:
- Navigate to Staff Control Panel.
- Click Manage Organizations.
- Search and open the relevant user's organization.
- Without doing anything, click the Update button.
Testing
Once the problem has been sorted out, one should be able to update/reply to tickets without any issues.