MWEB-826 Throw exception when config is invalid