OC 4.x does not fully work with an OpenShift 3.x cluster. The opposite is also true:
In a mail on the mailing list on the 17th of October ([openshift-sme] 4.x oc client is not compatible with OCP 3.11.)
The open shift 4.1 CLI can't get SecurityContextConstraints from 3.11 openshift. Is this expected? or we need to fix this?
$ oc get SecurityContextConstraints restricted -o name
error: attempt to print an ungroupified object: /v1, Kind=SecurityContextConstraints$ oc version
Client Version: version.InfoUnknown macro: {Major}Server Version: version.Info
Unknown macro: {Major}
answered by saying that one should use the oc binary that matches the cluster in terms of version:
API's change per each OpenShift version. You should always be sure to match the version of the CLI to the target cluster version (at least to the minor version) and have experienced errors similar to what you are receiving in the past.