Skip to content
Bug Barometer

SandboxPostCopy interface not working on custom object/custom setting field in PostCopy Apex class

Salesforce says this is fixed.

Summary

If we use context.sandboxId() or context.sandboxName() and assign the value to a String variable or a Text custom object/custom setting field in PostCopy Apex class, common.apex.runtime.impl.ExecutionException: Illegal arguments is encountered and the assignment does not work.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed with 8 reports

    Nov 30, 2026

Also open in Uncategorized