I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isnโt a duplicate
In which of these areas are you experiencing a problem?
App
Expected behavior
I build extensions in a first CI step and deploy the app in a final step. This worked fine with Shopify CLI 3.92.1 but started failing after upgrading to 4.2.0, with the errors below.
Actual behavior
App deployment fails with following error repeated for all UI extensions:
โ Validation errors โ
โ โข base: Missing expected key(s).
Reproduction steps
- Build app with
shopify app build - Deploy app with
shopify app deploy --no-build
Verbose output
Releasing an app version ...
2026-06-21T05:24:40.362Z: Request to https://app.shopify.com/app_management/unstable/graphql.json completed in 2193 ms
With response headers:
- content-type: application/json; charset=utf-8
- server-timing: processing;dur=1602, verdict_flag_enabled;desc="count=911";dur=15.807, _y;desc="6dd0ce9e-6747-4373-be4c-c9d2756c88df", _s;desc="17d1aee4-a974-4b66-bd91-6ff1dedd9b68"
โญโ error โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Version couldn't be created. โ
โ โ
โ admin-action โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ block-action โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ admin-draft-action โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ admin-draft-block โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ checkout-shipping-points โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ pos-pickup-points โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ typ-osp-points โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โ sidekick-tools โ
โ โ
โ Validation errors โ
โ โข base: Missing expected key(s). โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
2026-06-21T05:24:40.383Z: Looking for a lockfile in [REDACTED]/packages/extensions...
2026-06-21T05:24:40.882Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 489 ms
With response headers:
- x-request-id: 41313d2c-8ea6-4942-8bcd-195a12321293
2026-06-21T05:24:40.883Z: Analytics event sent: {
"command": "app deploy",
"time_start": 1782019467053,
"time_end": 1782019480380,
"total_time": 13327,
"success": false,
"cli_version": "4.2.0",
"ruby_version": "",
"node_version": "24.14.0",
"is_employee": false,
"uname": "darwin arm64",
"env_ci": false,
"env_plugin_installed_any_custom": false,
"env_plugin_installed_shopify": "[\"@shopify/cli\"]",
"env_shell": "zsh",
"env_device_id": "[REDACTED]",
"env_cloud": "localhost",
"env_package_manager": "pnpm",
"env_install_package_manager": "npm",
"env_is_global": true,
"env_auth_method": "device_auth",
"env_is_wsl": false,
"env_build_repository": "Shopify/cli",
"env_auto_upgrade_enabled": true,
"cmd_app_warning_api_key_deprecation_displayed": false,
"cmd_deploy_flag_message_used": false,
"cmd_deploy_flag_version_used": false,
"cmd_deploy_flag_source_url_used": false,
"cmd_app_all_configs_any": true,
"cmd_app_all_configs_clients": "{\"shopify.app.dev.toml\":\"[REDACTED]\"}",
"cmd_app_linked_config_used": true,
"cmd_app_linked_config_name": "shopify.app.dev.toml",
"cmd_app_linked_config_git_tracked": true,
"cmd_app_linked_config_source": "flag",
"cmd_app_linked_config_uses_cli_managed_urls": false,
"app_extensions_any": true,
"app_extensions_breakdown": "{\"ui_extension\":8,\"flow_action\":1,\"function\":1,\"flow_template\":3,\"flow_trigger\":1,\"admin_link\":1}",
"app_extensions_count": 15,
"app_extensions_custom_layout": true,
"app_extensions_function_any": true,
"app_extensions_function_count": 1,
"app_extensions_theme_any": false,
"app_extensions_theme_count": 0,
"app_extensions_ui_any": true,
"app_extensions_ui_count": 8,
"app_name_hash": "[REDACTED]",
"app_path_hash": "[REDACTED]",
"app_scopes": "[REDACTED]",
"app_web_backend_any": false,
"app_web_backend_count": 0,
"app_web_custom_layout": false,
"app_web_frontend_any": false,
"app_web_frontend_count": 0,
"env_package_manager_workspaces": false,
"business_platform_id": "[REDACTED]",
"api_key": "****",
"cmd_app_reset_used": false,
"cmd_deploy_include_config_used": true,
"cmd_deploy_config_modules_breakdown": "[\"access_scopes\",\"application_url\",\"auth\",\"embedded\",\"handle\",\"name\",\"pos\",\"shop\",\"sidekick\",\"webhooks\"]",
"cmd_deploy_config_modules_added": "[\"sidekick\"]",
"cmd_deploy_confirm_new_registrations": 1,
"cmd_deploy_confirm_updated_registrations": 0,
"cmd_deploy_confirm_removed_registrations": 0,
"cmd_deploy_confirm_cancelled": false,
"cmd_deploy_confirm_time_to_complete_ms": 1372,
"cmd_all_timing_network_ms": 7958,
"cmd_all_timing_prompts_ms": 1371,
"cmd_all_launcher": "pnpm",
"cmd_all_topic": "app",
"cmd_all_plugin": "@shopify/cli",
"cmd_all_verbose": true,
"cmd_all_path_override": true,
"cmd_all_path_override_hash": "[REDACTED]",
"cmd_all_last_graphql_request_id": "[REDACTED]",
"cmd_all_timing_active_ms": 3997,
"cmd_all_exit": "expected_error",
"user_id": "[REDACTED]",
"request_ids": [
"540bc634-a666-4854-b47a-56578a627e1a-1782019467",
"3c4ab252-6378-494f-86e7-22d90f4096a5-1782019468",
"ce0366e4-f47d-49e1-9057-e16c7f903a6f-1782019473",
"0d0e8f88-96b1-4ce0-ace3-c1e724d19f6b-1782019474",
"337dbea6-1a2b-4dfb-b16e-e1345f406e2b-1782019476",
"80a0321d-70c2-42cc-950c-a9eb7fa3a3d8-1782019478"
],
"args": "--config shopify.app.dev.toml --no-build --verbose",
"error_message": "Version couldn't be created.",
"app_name": "[REDACTED]",
"env_plugin_installed_all": "[\"@shopify/cli\"]",
"env_shopify_variables": "{}",
"metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
Operating system
macOS
CLI version
4.2.0
Nodejs version
24