juspay/hyperswitch · error · ApiErrorResponse

Tesouro requires SignatureKey auth type

Error message

Tesouro requires SignatureKey auth type

What it means

Error "Tesouro requires SignatureKey auth type" thrown in juspay/hyperswitch.

Source

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

                    api_secret,
                } => Ok(Self::Barclaycard {
                    api_key: api_key.clone(),
                    merchant_account: key1.clone(),
                    api_secret: api_secret.clone(),
                }),
                _ => Err(err("Barclaycard requires SignatureKey auth type")),
            },
            Connector::Tesouro => match auth {
                ConnectorAuthType::SignatureKey {
                    api_key,
                    key1,
                    api_secret,
                } => Ok(Self::Tesouro {
                    api_key: api_key.clone(),
                    key1: key1.clone(),
                    api_secret: api_secret.clone(),
                }),
                _ => Err(err("Tesouro requires SignatureKey auth type")),
            },
            Connector::Ilixium => match auth {
                ConnectorAuthType::SignatureKey {
                    api_key,
                    key1,
                    api_secret,
                } => Ok(Self::Ilixium {
                    api_key: api_key.clone(),
                    key1: key1.clone(),
                    api_secret: api_secret.clone(),
                }),
                _ => Err(err("Ilixium requires SignatureKey auth type")),
            },
            Connector::Checkout => match auth {
                ConnectorAuthType::SignatureKey {
                    api_key,
                    key1,
                    api_secret,

View on GitHub (pinned to 3093f22cc4)

Solutions

  1. Configure the merchant connector account for Tesouro with the SignatureKey connector_auth_type
  2. Recreate/update the connector account credentials to match the SignatureKey schema
Defensive patterns

Strategy: try-catch

When it happens

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

Common situations: See trigger scenarios.


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