How to resolve the error - System.UnexpectedException: Script-thrown exception?
To add to "1. Named Credential Name", this exception may occur when a callout refers to named credentials that are part of a package with a namespace. Even if APEX code is included in the same package. When this occurs, the callout works in a Development org with the same namespace as the package containing the named…
Answered May 1, 2024 · 5.5K Views Read answer →