ChemBuilder Errors

This page outlines several error messages that users may encounter when utilizing Chemistry Builder. The following errors occur specifically when the thermodynamic framework value is misspelled:

{
    "data": {
        "error": {
            "error": {
                "messages": [
                    {
                        "code": 0,
                        "functionName": "oli_process_api::ChemistryBuilderAPI::setChemModel::<lambda_76b84038b7c916aae3a6b0c08ba8103d>::operator ()",
                        "message": [
                            "The input name of thermodynamic framework 'Aueous (H+ ion)' is not supported; Please enter a valid name of supported thermodynamic frameworks"
                        ],
                        "messageType": "error",
                        "objectType": "ChemistryBuilderAPI"
                    },
                    {
                        "code": 0,
                        "functionName": "oli_process_api::ChemistryBuilderAPI::initialize::<lambda_3f42c0f8e472529a61e2551c61fd79a7>::()::<lambda_280f20c46ba155cc50138f64d484b31a>::operator ()",
                        "message": [
                            "Fail to create the chemistry model; Query species exits"
                        ],
                        "messageType": "error",
                        "objectType": "ChemistryBuilderAPI"
                    }
                ]
            }
        },
        "metaData": {
            "executionTime": {
                "unit": "ms",
                "value": 1.0
            }
        }
    },
    "message": "Chemistry could not be generated",
    "status": "FAILED"
}

JSON Format Errors

Users may occasionally encounter issues with formatting JSON input files, as illustrated in the following example:

{ 
    "name": "H2O" // A comma is missing following the input 
    "enabled": false 
} 

Missing commas or parentheses in the JSON input file can lead to the following error:

"Errors in parsing input JSON file; Check the format and argument of every keyword in the JSON file"

Last updated