What you showed is exactly that. Does the spec say the field must be a string?
OIDC extends the list with a few more: https://openid.net/specs/openid-connect-core-1_0.html#AuthEr...
This allows clients to interop with any server. Doing the shit Facebook is doing completely ignores one of the main objectives of implementing a RFC: interoperability.
> error
> REQUIRED. A single ASCII [USASCII] error code from the following...
What you showed is exactly that. Does the spec say the field must be a string?