{
  "schemaVersion": 1,
  "cases": [
    {
      "id": "missing-api-key",
      "grpcStatusCode": "UNAUTHENTICATED",
      "clientErrorCategory": "AuthenticationError",
      "inputMetadata": {
        "authorization": ""
      },
      "expectedRedactedOutput": "authentication failed: missing bearer token",
      "retryableWithoutCredentialChange": false
    },
    {
      "id": "invalid-api-key",
      "grpcStatusCode": "UNAUTHENTICATED",
      "clientErrorCategory": "AuthenticationError",
      "inputMetadata": {
        "authorization": "Bearer <redacted>"
      },
      "expectedRedactedOutput": "authentication failed: invalid API key <redacted>",
      "retryableWithoutCredentialChange": false
    },
    {
      "id": "missing-write-scope",
      "grpcStatusCode": "PERMISSION_DENIED",
      "clientErrorCategory": "AuthorizationError",
      "inputMetadata": {
        "authorization": "Bearer <redacted>"
      },
      "requiredScope": "mxaccess.write",
      "expectedRedactedOutput": "authorization failed: missing scope mxaccess.write",
      "retryableWithoutCredentialChange": false
    }
  ]
}
