Cannot create a patch version due to the unexpected error 134043089-20020 (-696824206)
Not fixed yet. Salesforce has scheduled a fix.
Summary
A error messgae is thrown during 2GP patch version creation when setting the PatchDevOrg org perm. There is a race condition to obtain an Apex compile lock, that when unavailable, results in patch version creation failing.
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Scheduled with 2 reports
Nov 30, 2026
Also open in ISVs
sfdx force:org:create getting failed with an error - Socket timeout occurred while listening for results
Solution ScheduledPlatform / ISVsSpring '20Reported May 25, 2021253 reports253reports
SSO (Single Sign On) fails to enable on orgs created from Environment Hub
Solution in ProgressPlatform / ISVsSummer '20Reported Oct 18, 202146 reports46reports
Standard license User can't access to records when records are shared with All Internal Users in Scratch org
Solution ScheduledPlatform / ISVsSpring '19Reported Aug 2, 201929 reports29reports
Lightning Sync and Einstein Activity Capture stopped syncing for user and organization level Microsoft 365 Oauth2.0
Solution in ProgressPlatform / ISVsWinter '22Reported Oct 29, 202125 reports25reports