Problem while running a service in Foundry

I was going through the very firs video of the course: Volt MX Iris & Foundry Jumpstart and in there we have to run a service (getMultiQuotes) in the foundry dashboard and when I does that it throws an error while in the video there was no such error. Moreover, the course is having just snippets, it would be much better if those snippets can be swapped with actual website manipulation. In that way, one can learn everything step by step.

I am getting the below error when I am trying to get fetch the response of the particular endpoint. When I am clicking on Save & fetch response button, it is giving the below error:

I referred the Volt MX documentation & went through the foundry error codes section, but can't find error code #7010. I don't know why is that popping out?

This is the response log:

{
        "Status": "Error",
        "ErrorCode": "7010",
        "ErrorMessage": "Error occurred while evaluating the JavaScript. Cause: Resource   Utilization Exceeded.",
        "StatusCode": 500
    }

I guess there is something wrong with the preprocessing steps. Am I selecting the wrong environment? I have the following environments:

If anyone can help me out then it would be great.

Hello @Vishal Vats ,

Please review few inputs below, these might help in your scenario. Thank you.

In my scenario I saw this error "Error occurred while evaluating the JavaScript. Cause: Resource Utilization Exceeded." when I configured pre/post processors in the services in a trail Foundry.

Please expand the "Advanced" option in your "getMultiQuotes" operation configuration and verify whether there is any JavaScript configured under "Preprocessor" and "Postprocessor", as shown below.

  • Remove the configured JavaScript from "Preprocessor" and "Postprocessor".
  • Add the below given JSON into "Mock Data JSON Template" section.

  • Update the parameters configured in the "Response Output" as shown in below screen shot.

By doing this, you are removing the JavaScript from preprocessor and postprocessor, so the operation will always respond with the same mock JSON for any input request sent. This will allow you to proceed further with the course. Thank you.

{
  "year": "2018",
  "term_length": "6",
  "premium_adder_comments": "year > 2018",
  "approval_status": "Approved",
  "approval_comments": "Approval Comments > 2018",
  "car_trim_level": "+AWD +Turbo",
  "insurance_type": "Auto",
  "AutoInsuranceQuotes": [
    {
      "premium_base": "400",
      "premium_adder": "1200",
      "id": "Progressive",
      "ins_type": "Auto",
      "provider_logo": "https://www.progressive.com/content/images/domainprogressive/wh3/base/icons/logo-progressive.svg"
    },
    {
      "premium_base": "450",
      "premium_adder": "1200",
      "id": "Farmer",
      "ins_type": "Auto",
      "provider_logo": "https://farmersinsurance.scene7.com/is/image/farmers/farmers-ins-logo-1?fmt=png-alpha&wid=90&hei=48"
    },
    {
      "premium_base": "500",
      "premium_adder": "1200",
      "id": "AllState",
      "ins_type": "Auto",
      "provider_logo": "https://www.allstate.com/resources/Allstate/images/hmpg/allstate-logo.png?v=93845497-a7d5-b016-8640-91bac7e36392"
    },
    {
      "premium_base": "550",
      "premium_adder": "1200",
      "id": "StateFarm",
      "ins_type": "Auto",
      "provider_logo": "https://static1.st8fm.com/en_US/dxl-1x/prod/css/images/header/state-farm-logo-2.svg"
    }
  ]
}

Thanks and Regards,

Venkata Raju Bankapalli

Thanks for the reply @Venkata Raju Bankapalli . But why I am not able to configure a pre/post processor in my service? Any specific reasons for that?

Hi @Vishal Vats ,

I think there is some restrictions in "Trail" Foundry cloud instances, due to which when pre/post processors are configured in a "Trail" Foundry cloud, we see this error "Error occurred while evaluating the JavaScript. Cause: Resource Utilization Exceeded.". Thank you.

Thanks and Regards,

Venkata Raju Bankapalli

Is there any restriction on the number of operations attached to a specific integration service for a foundry project?