Troubleshooting
Use the following solutions to resolve common issues with App Management.
Configuration validation errors
The entire app.commerce.config is validated each time you run a generate command. Schema validation is included as part of this validation. If validation fails, check:
Required properties. Fields must have
name,label, andtype.Type-matched defaults. Default values must match the field type.
Valid metadata. App metadata must include
id,displayName,description, andversion.
App not appearing in App Management
Verify app is deployed:
Copied to your clipboardaio app deploy --force-build --force-deployCheck runtime actions are generated in
.generatedfolders.Confirm valid configuration schema.
Verify correct organization in Developer Console.
Runtime actions not generated
Verify
app.commerce.configexists with valid configuration.Manually run:
Copied to your clipboardnpx aio-commerce-lib-app generate all
Encryption key errors
Validate your encryption key configuration.
Copied to your clipboardnpx aio-commerce-lib-config encryption validateGenerate an encryption key (only creates one if it does not already exist).
Copied to your clipboardnpx aio-commerce-lib-config encryption setup
