Skip to content
Bug Barometer
All issues
In Review

Nonprofit / Nonprofit Cloud

Unlocked 2GP package version create fails with an unexpected error when the package extends certain Nonprofit Cloud standard objects

Reported
Nov 27, 2026
Updated
Nov 27, 2026
Fixed
—
Reports
1
Found in
Winter '27
Reference
W-25044179

Summary

When you run sf package version create with validation on an unlocked 2GP package, the build can fail with a generic error ending in a number, such as (1658854796). This can happen when the package includes metadata that extends certain Nonprofit Cloud standard objects. Reported areas include Program Management, Outcome Management and Households.


Builds that skip validation or are created as org-dependent packages are not affected.

Workaround

Workaround

  • Create an org-dependent unlocked package version. Org-dependent packages have limits: they can't declare dependencies and can't become managed packages.
  • You can build with --skip-validation for development and testing only. Those versions can't be promoted or released.

Steps to reproduce

Repro

  1. Create an unlocked 2GP package that extends a Nonprofit Cloud standard object, such as a custom field on a Program Management object.
  2. Run sf package version create with validation, which is the default.
  3. The build fails with an unexpected error that ends in a number.

Error details

An unexpected error occurred. Please contact Salesforce Support", codes 1624197951-715291 (1658854796) and 117941976-73940 (1658854796)

Status timeline

  1. Nov 30, 2026

    created · In Review · 1 reports

  2. Nov 30, 2026

    content changed · In Review · 1 reports

Official known-issue pageSuggest a workaround