Troubleshooting
Use the following solutions to resolve common issues with App Management.
Configuration validation errors
The entire app.commerce.config is validated when the pre-app-build hook runs (for example during aio app build) and when you run npx aio-commerce-lib-app generate … manually. Schema validation is included. 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.Run a build so
pre-app-buildruns the generators:Copied to your clipboardaio app buildIf
.generatedfolders are still missing or stale, 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
