JFROG CLI: All About the CLI Configuration File’s Version Field and Why It Can Trigger an unexpected end of JSON input Error

Yonatan Brand
2023-01-22 11:07

The version field in the CLI configuration file is used by the JFrog CLI to identify the version of the configuration itself. As from JFrog CLI version 1.37.0, the CLI uses an updatedconfig schema. When using an older version than 1.37.0 and then upgrading to 1.37.0, JFrog CLI will automatically convert the config, and will then bump the version to “2", which is the latest schema version as of now. Usually, you can expect this error if the config (with the new schema) is being used by an older version of the JFrog CLI. You can overcome this issue by upgrading your JFrog CLI to the latest version. This way, all CLI executions will be compatible with the updated schema.

Published: July 8, 2020
Last updated: May. 24, 2021

Keywords: CLI