Layer7 API Management

 View Only
  • 1.  Rest Put is returning error

    Posted Sep 06, 2017 02:18 AM

    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\"}"
    }



  • 2.  Re: Rest Put is returning error

    Posted Sep 06, 2017 04:15 PM

    Hello, Is this question related to a specific CA product? 



  • 3.  Re: Rest Put is returning error

    Posted Sep 08, 2017 01:17 AM

    Yes, it is related to CA's Live API creator.

    Didn't get the answer yet. It may be the case I have chosen some wrong setting while putting this question.