I am working on iris-for-money app: https://github.com/oliverwilms/iris-for-money
Account.csp posts a rest call with _SYSTEM username and the password.
xhttp.open("POST", "/restapi/sql/" + query, true,"_SYSTEM","SYS");
xhttp.send();
The error is logged in Riches.REST for this line:
Set tSC = tStatement.%Prepare(pQuery)
ClassMethod PostSQL(pQuery As %String = "", pIndex As %String = -1) As %Status
{
Do ..DebugTEST("Riches.REST - PostSQL")
Do ..DebugTEST("pQuery = "_pQuery)
Set tSC = ..TestQuery(pQuery,.pQuery)
Do ..DebugTEST("TestQuery = "_pQuery)
Set tStatement =




.png)



