juspay/hyperswitch · error · ErrorResponse
HE_00
HE_00
Error message
Something went wrong
What it means
Error "Something went wrong" thrown in juspay/hyperswitch.
Source
Thrown at crates/hyperswitch_domain_models/src/router_data.rs:935
#[derive(Clone, Debug, Serialize)]
pub struct ErrorResponse {
pub code: String,
pub message: String,
pub reason: Option<String>,
pub status_code: u16,
pub attempt_status: Option<common_enums::enums::AttemptStatus>,
pub connector_transaction_id: Option<String>,
pub connector_response_reference_id: Option<String>,
pub network_decline_code: Option<String>,
pub network_advice_code: Option<String>,
pub network_error_message: Option<String>,
pub connector_metadata: Option<Secret<serde_json::Value>>,
}
impl Default for ErrorResponse {
fn default() -> Self {
Self {
code: "HE_00".to_string(),
message: "Something went wrong".to_string(),
reason: None,
status_code: http::StatusCode::INTERNAL_SERVER_ERROR.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,
}
}
}
impl ErrorResponse {
pub fn get_not_implemented() -> Self {
Self {
code: "IR_00".to_string(),View on GitHub (pinned to 3093f22cc4)
Solutions
- Inspect the surrounding logs for the underlying error that was collapsed into this generic message
- Check that the required router data field for the called flow is populated before this point
When it happens
Trigger: Thrown at crates/hyperswitch_domain_models/src/router_data.rs:865 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/d02906c1d61d44fe.
Report an issue: GitHub.