adds content to 500 error. Also reworks _container_config to only pass to the server non-empty and fields set to True to use server defaults.