Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.0 kB
2
Indexable
Never
the below iam loading into cassandra 


{'overallStatus': 'failed', 'details': '[{"validation": "success"}, {"scheduler": "success"}, {"userCreation": "success"}, {"tenantCreation": "failed", "errorDesc": ["{"***": {"failedTables": {"tcare_intr_subtype_outcome_map": {"Error": "pyJobException", "Exception": "Exception - {(pymysql.err.OperationalError) (2006, "MySQL server has gone away (ConnectionResetError(104, \\\\"Connection reset by peer\\\\"))")\\\\n[SQL: SELECT id AS subtype_outcome_map_nbr FROM ***.tcare_intr_stype_otcm_map_seq]\\\\n(Background on this error at: https://sqlalche.me/e/14/e3q8)} . Line No - {203} "}}, "successTables": {"tcare_ui_composite_element_map": "Success", "tcare_interaction_sub_type_ref": "Success", "tcare_interaction_outcome_ref": "Success", "tcare_interaction_category_ref": "Success", "tcare_care_search_reference": "Success", "tcare_activity_rulegroup_map": "Success", "tcare_acct_srvc_category_ref": "Success"}}}"]}]'}


and while retriving with python api iam getting blackslahses like below

[
    {
        "status": "failed",
        "details": "[{\"validation\": \"success\"}, {\"scheduler\": \"success\"}, {\"userCreation\": \"success\"}, {\"tenantCreation\": \"failed\", \"errorDesc\": [\"{\"tibtcare\": {\"failedTables\": {\"tcare_intr_subtype_outcome_map\": {\"Error\": \"pyJobException\", \"Exception\": \"Exception - {(pymysql.err.OperationalError) (2006, \"MySQL server has gone away (ConnectionResetError(104, \"Connection reset by peer\"))\")n[SQL: SELECT id AS subtype_outcome_map_nbr FROM ***.tcare_intr_stype_otcm_map_seq]n(Background on this error at: https://sqlalche.me/e/14/e3q8)} . Line No - {203} \"}}, \"successTables\": {\"tcare_ui_composite_element_map\": \"Success\", \"tcare_interaction_sub_type_ref\": \"Success\", \"tcare_interaction_outcome_ref\": \"Success\", \"tcare_interaction_category_ref\": \"Success\", \"tcare_care_search_reference\": \"Success\", \"tcare_activity_rulegroup_map\": \"Success\", \"tcare_acct_srvc_category_ref\": \"Success\"}}}\"]}]"
    }
]
Leave a Comment