If you make an API request to Kibana (e.g. the new ingest API) with an outdated kbn-version header, you get the error Browser client is out of date, please refresh the page. This error message is extremely useful when a user experiences while using Kibana in their browser, but it's misleading and unhelpful when encountered when trying to make an API request. We should either make the error message dependent on context or make it general enough to apply to any context.
If you make an API request to Kibana (e.g. the new ingest API) with an outdated kbn-version header, you get the error
Browser client is out of date, please refresh the page. This error message is extremely useful when a user experiences while using Kibana in their browser, but it's misleading and unhelpful when encountered when trying to make an API request. We should either make the error message dependent on context or make it general enough to apply to any context.