juspay/hyperswitch · error · ErrorResponse
IR_20
IR_20
Error message
Update metadata is not implemented for this connector
What it means
Error "Update metadata is not implemented for this connector" thrown in juspay/hyperswitch.
Source
Thrown at crates/router/src/core/payments/transformers.rs:2335
})?;
let test_mode = merchant_connector_account.is_test_mode_on();
let auth_type: types::ConnectorAuthType = merchant_connector_account
.get_connector_account_details()
.parse_value("ConnectorAuthType")
.change_context(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Failed while parsing value for ConnectorAuthType")?;
payment_method = payment_data
.payment_attempt
.payment_method
.or(payment_data.payment_attempt.payment_method)
.get_required_value("payment_method_type")?;
// [#44]: why should response be filled during request
let response = Err(hyperswitch_domain_models::router_data::ErrorResponse {
code: "IR_20".to_string(),
message: "Update metadata is not implemented for this connector".to_string(),
reason: None,
status_code: http::StatusCode::BAD_REQUEST.as_u16(),
attempt_status: None,
connector_transaction_id: None,
connector_response_reference_id: None,
network_decline_code: None,
network_advice_code: None,
network_error_message: None,
connector_metadata: None,
});
let customer_details = payment_data
.payment_intent
.customer_details
.clone()
.map(|customer_details_encrypted| {
customer_details_encryptedView on GitHub (pinned to 3093f22cc4)
Solutions
- The selected connector does not support metadata updates; skip the update-metadata call for this connector
- If support is needed, implement UpdateMetadata in the connector's transformer/spec
When it happens
Trigger: Thrown at crates/router/src/core/payments/transformers.rs:2289 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/76c0b077c432ea75.
Report an issue: GitHub.