CDB-46 fixed error parsing from SQL API