{"record":{"id":"f668bc57fe92ea69","repo":"juspay/hyperswitch","slug":"connector-execution-error","errorCode":"CONNECTOR_EXECUTION_ERROR","errorMessage":"err.to_string()","messagePattern":"err\\.to_string\\(\\)","errorType":"error_code","errorClass":"WebhookRegistrationError","httpStatus":null,"severity":"error","filePath":"crates/router/src/core/merchant_connector_webhook_management.rs","lineNumber":351,"sourceCode":"            .await\n            {\n                Ok(resp) => resp,\n                Err(err) => {\n                    router_env::logger::error!(\n                        error=?err,\n                        connector=%connector_data.connector_name,\n                        scope=?identifier,\n                        \"Connector webhook registration call failed; continuing with next item\"\n                    );\n                    return Ok((\n                        identifier.clone(),\n                        WebhookRegistrationResult {\n                            identifier: identifier.clone(),\n                            status: common_enums::WebhookRegistrationStatus::Failure,\n                            connector_webhook_id: None,\n                            error: Some(\n                                api_models::merchant_connector_webhook_management::WebhookRegistrationError {\n                                    code: \"CONNECTOR_EXECUTION_ERROR\".to_string(),\n                                    message: err.to_string(),\n                                },\n                            ),\n                        },\n                        None,\n                        None,\n                    ));\n                }\n            };\n\n            let (result, metadata) = match response.response {\n                Ok(success) => {\n                    let result = WebhookRegistrationResult {\n                        identifier: identifier.clone(),\n                        status: success.status,\n                        connector_webhook_id: success.connector_webhook_id,\n                        error: None,\n                    };","sourceCodeStart":333,"sourceCodeEnd":369,"githubUrl":"https://github.com/juspay/hyperswitch/blob/806ec7dcc036d895b93313d5e8eaa2374e25bcdf/crates/router/src/core/merchant_connector_webhook_management.rs#L333-L369","documentation":"Error \"err.to_string()\" thrown in juspay/hyperswitch.","triggerScenarios":"Thrown at crates/router/src/core/merchant_connector_webhook_management.rs:351 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped connector error (err) in logs for the real failure reason during webhook management","Verify the merchant connector account credentials and webhook configuration"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"806ec7dcc036d895b93313d5e8eaa2374e25bcdf","analyzedAt":"2026-08-19T10:36:43.745Z","contentChangedAt":"2026-08-19T10:36:43.745Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}