It is not clear what is the source of ValueError. Is the get_config()? And why it is so?