This error message appears when a user executes 'sm-local' scripts and uses SageMaker defaults to set values from config file.
The reason is the recent non-backward compatible change related to SageMaker defaults :
https://github.com/aws/sagemaker-python-sdk/pull/3872/files