'Data Not Available' Error During Q-assign Upgrade

Overview

Some customers may encounter a 'Data Not Available' error when upgrading Q-assign or assigning Permission Sets. This issue is related to a known Salesforce platform problem affecting certain Sandbox environments after the Winter ’26 release.

What does the error look like?

You may see errors such as:

With a message like:

"The data you were trying to access could not be found…"

What is causing this issue?

This is not a Q-assign issue. Salesforce has identified a problem where some Sandbox orgs contain corrupted records in the PermissionSetLicenseAssign table. These records reference Permission Set License IDs that no longer exist.

When Q-assign attempts to assign Permission Sets during an upgrade, Salesforce encounters these invalid records and throws the error.

Who is affected?

How can I fix this issue?

Salesforce recommends the following workaround:

Step 1: Identify corrupted records

Run this SOQL query:
 

SELECT Id, AssigneeId
FROM PermissionSetLicenseAssign
WHERE PermissionSetLicense.DeveloperName = ''

Step 2: Delete invalid records

Delete the records returned by the query. These records point to non-existent Permission Set Licenses.

Step 3: Retry the upgrade

Run the Q-assign package upgrade again. It should now complete successfully.

Alternative solution

You can also perform a full Sandbox refresh, which removes the corrupted data and resolves the issue.

Is this safe?

Yes. The affected records are invalid and do not reference active Permission Set Licenses, so deleting them does not impact valid configurations.

Do I need support?

Contact support if the issue persists after applying the workaround or if you’re unsure about deleting the records.

Key takeaway

This error is caused by a Salesforce Sandbox data inconsistency introduced after Winter ’26, not by Q-assign. Applying the workaround resolves the issue and allows upgrades to proceed normally.

 

 

Please contact us at support@ortooapps.com for any questions.