For UX, it would be better if we presented an error for validation that is "this config is empty" rather than the inaccurate "no server name" or "no context name" errors. Returns a typed error.