-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated
Description
Summary
After updating the CLI to the latest stable build (@salesforce/cli/2.111.7 darwin-arm64 node-v22.21.0) the component preview url is generated incorrectly resulting in a 400 error. I believe the issue is due to the double-encoding within the follow part of the url: localdev%252Fpreview
Steps To Reproduce
- Update CLI to latest stable version using
sf update stable(resulting in version @salesforce/cli/2.111.7 darwin-arm64 node-v22.21.0) - Run
sf lightning dev componentand select the respective component
Expected result
Browser opens with the component UI rendered on screen.
Actual result
HTTP ERROR 400 application/e/devpreview/ai/localdev%252Fpreview is not a valid request for org.lwr.impl.application.handler.ApplicationRequestHandler (We are reporting this as error ID: 853514173-216856 (-1184705824))
URI: /lwr/application/e/devpreview/ai/localdev%252Fpreview
STATUS: 400
MESSAGE: application/e/devpreview/ai/localdev%252Fpreview is not a valid request for org.lwr.impl.application.handler.ApplicationRequestHandler (We are reporting this as error ID: 853514173-216856 (-1184705824))
SERVLET: LightningWebRuntimeServlet
System Information
Terminal: zsh
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.111.7",
"nodeVersion": "node-v22.21.0",
"osVersion": "Darwin 25.1.0",
"rootPath": "/Users/serdar/.local/share/sf/client/2.111.7-ab07346",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.38 (core)",
"@oclif/plugin-commands 4.1.37 (core)",
"@oclif/plugin-help 6.2.34 (core)",
"@oclif/plugin-not-found 3.2.71 (core)",
"@oclif/plugin-plugins 5.4.52 (core)",
"@oclif/plugin-search 1.2.34 (core)",
"@oclif/plugin-update 4.7.13 (core)",
"@oclif/plugin-version 2.2.35 (core)",
"@oclif/plugin-warn-if-update-available 3.1.51 (core)",
"@oclif/plugin-which 3.2.42 (core)",
"@salesforce/cli 2.111.7 (core)",
"agent 1.24.21 (core)",
"apex 3.8.5 (core)",
"api 1.3.3 (core)",
"auth 3.9.17 (core)",
"code-analyzer 5.6.1 (user) published 11 days ago (Thu Oct 30 2025)",
"data 4.0.59 (core)",
"deploy-retrieve 3.23.12 (core)",
"info 3.4.95 (core)",
"lightning-dev 4.5.0 (user) published 28 days ago (Sun Oct 12 2025) (latest is 4.5.2)",
"limits 3.3.70 (core)",
"marketplace 1.3.8 (core)",
"org 5.9.41 (core)",
"packaging 2.23.0 (core)",
"schema 3.3.86 (core)",
"settings 2.4.50 (core)",
"sobject 1.4.77 (core)",
"telemetry 3.6.62 (core)",
"templates 56.3.69 (core)",
"trust 3.7.113 (core)",
"user 3.6.38 (core)"
]
}Metadata
Metadata
Assignees
Labels
investigatingWe're actively investigating this issueWe're actively investigating this issuevalidatedVersion information for this issue has been validatedVersion information for this issue has been validated