CHW-4922 APIKeyInvalidKeyType

key_type / agent_kind combination is invalid; personal keys must omit agent_kind and agent keys must supply it

Default message: key_type / agent_kind combination is invalid; personal keys must omit agent_kind and agent keys must supply it
HTTP status: 400 (client)

Problem. apikeys.ValidateKeyType rejected the key_type / agent_kind pair. Cause. An agent key without agent_kind, or an agent_kind set on a personal key. Fix. Send personal keys with no agent_kind, and agent keys with a valid agent_kind. HTTP 400.