Invalid JSON parsing when using sf org display --verbose --json
output with sf org login sfdx-url
#3235
Labels
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
Invalid JSON parsing when using
sf org display --verbose --json
output withsf org login sfdx-url
Steps To Reproduce
sf org display --verbose --json > files/authFile.json
sf org login sfdx-url --sfdx-url-file files/authFile.json
Expected result
The JSON file should be properly generated and parsed for the login command.
Actual result
The command fails with error:
This suggests there might be an encoding issue when writing the JSON to file.
Additional information
The error appears to be related to file encoding when writing JSON output to a file. The presence of `` characters suggests a potential UTF-8/Unicode encoding mismatch.
Exact terminal output:
System Information
Reproduced with many environments across 3 devices.
The text was updated successfully, but these errors were encountered: