kkaus

Rest Put is returning error

Discussion created by kkaus on Sep 6, 2017
Latest reply on Sep 8, 2017 by kkaus

I have created a function which is actually doing a SysUtility.restPut() call for a resource (which is created for a table). While running it from the Rest Lab it is returning the below error. I am not exactly getting what is missed or what this error message is conveying.

 

{
"statusCode": 500,
"errorCode": 50045,
"errorMessage": "Error while executing Resource JavaScript API-level function null - line 0: java.lang.Exception: { \"statusCode\": 404, \"errorCode\": 4045, \"errorMessage\": \"No such object: main:credit_transactions (main:credit_transactions[{}]) in resource credit_transactions, subresource credit_transactions\"}"
}

Outcomes