Skip to content

Alchemy Public

Feature reference 1 min read View Markdown

Exiting with code -26#

For a number of reasons when either registering or unregistering an Alchemy Compatibility Package, you may receive exit code -26 reading: "Exiting with code: -26". To troubleshoot this error, refer to the tables below depending on which task you are trying to complete.

Applies to: Alchemy

During registration#

Registration failed: {PackageID} is not deployed in machine mode.
You must first deploy the package in Machine Mode in order to then register the package. This deployment must also use the --noregister flag. For more information, see Deploy an Alchemy Compatibility Package to a Machine.
Registration failed: The user was already registered at deploy time.
You must first uninstall the package and then redeploy using the --noregister flag. For more information, see Deploy an Alchemy Compatibility Package to a Machine.

During unregistration#

Unregistration failed: {PackageId} is not deployed.
You must first deploy the package to the machine before it is possible to unregister. For more information, see Deploy an Alchemy Compatibility Package to a Machine.
Unregistration failed: The user was registered at deploy time.
The package was deployed without the --noregister flag, so an individual user can't unregister their own package. To remove the package for all users, see Uninstalling a Package. For more information on available flags when deploying to a machine, see Deploy an Alchemy Compatibility Package to a Machine.
Unregistration failed: The user is not registered.
This package is not registered to the current user, so there is no need to unregister.