juspay/hyperswitch · error · ApiErrorResponse::InternalServerError

Paybox requires MultiAuthKey auth type

Error message

Paybox requires MultiAuthKey auth type

What it means

Error "Paybox requires MultiAuthKey auth type" thrown in juspay/hyperswitch.

Source

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

                    organization_id: key1.clone(),
                    location_id: key2.clone(),
                    api_secret_key: api_secret.clone(),
                }),
                _ => Err(err("Forte requires MultiAuthKey auth type")),
            },
            Connector::Paybox => match auth {
                ConnectorAuthType::MultiAuthKey {
                    api_key,
                    key1,
                    api_secret,
                    key2,
                } => Ok(Self::Paybox {
                    site: api_key.clone(),
                    rank: key1.clone(),
                    key: api_secret.clone(),
                    merchant_id: key2.clone(),
                }),
                _ => Err(err("Paybox requires MultiAuthKey auth type")),
            },
            Connector::Paytm => match auth {
                ConnectorAuthType::SignatureKey {
                    api_key,
                    key1,
                    api_secret,
                } => Ok(Self::Paytm {
                    merchant_id: api_key.clone(),
                    merchant_key: key1.clone(),
                    website: api_secret.clone(),
                    client_id: None,
                }),
                ConnectorAuthType::MultiAuthKey {
                    api_key,
                    key1,
                    api_secret,
                    key2,
                } => Ok(Self::Paytm {

View on GitHub (pinned to 3093f22cc4)

Solutions

  1. Configure the merchant connector account for Paybox with the MultiAuthKey connector_auth_type
  2. Recreate/update the connector account credentials to match the MultiAuthKey schema

When it happens

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

Common situations: See trigger scenarios.


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