juspay/hyperswitch · error · ApiErrorResponse::InternalServerError

Deutsche Bank requires MultiAuthKey auth type (customer_iden

Error message

Deutsche Bank requires MultiAuthKey auth type (customer_identifier / key_id / signing_private_key / client_certificate_bundle)

What it means

Error "Deutsche Bank requires MultiAuthKey auth type (customer_identifier / key_id / signing_private_key / client_certificate_bundle)" thrown in juspay/hyperswitch.

Source

Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:1776

                    client_id: key1.clone(),
                    certificates: Some(api_secret.clone()),
                    private_key: Some(key2.clone()),
                }),
                _ => Err(err("Itaubank requires BodyKey auth type")),
            },
            Connector::Deutschebank => match auth {
                ConnectorAuthType::MultiAuthKey {
                    api_key,
                    key1,
                    api_secret,
                    key2,
                } => Ok(Self::Deutschebank {
                    customer_identifier: api_key.clone(),
                    key_id: key1.clone(),
                    signing_private_key: api_secret.clone(),
                    client_certificate_bundle: key2.clone(),
                }),
                _ => Err(err(
                    "Deutsche Bank requires MultiAuthKey auth type \
                     (customer_identifier / key_id / signing_private_key / client_certificate_bundle)",
                )),
            },
            Connector::Imerchantsolutions => match auth {
                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Imerchantsolutions {
                    api_key: api_key.clone(),
                    merchant_id: None,
                }),
                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Imerchantsolutions {
                    api_key: api_key.clone(),
                    merchant_id: Some(key1.clone()),
                }),
                _ => Err(err("Imerchantsolutions requires HeaderKey auth type")),
            },
            Connector::AbsaSanlam => match auth {
                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::AbsaSanlam {
                    api_key: api_key.clone(),

View on GitHub (pinned to 3093f22cc4)

Solutions

  1. Configure Deutsche Bank with the MultiAuthKey auth type providing customer_identifier, key_id, signing_private_key and client_certificate_bundle

When it happens

Trigger: Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:1683 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of juspay/hyperswitch@3093f22cc4 (2026-08-19). Data as JSON: /api/errors/55768cb67fd9f177. Report an issue: GitHub.