Symptoms


Try to switch service plan to new service plan with same parameters shows an error 'Rating Engine call error: HTTP server returns error with code 500: zone'. In core.log it can be seen following entry:


Mar 20 10:15:17.812 : DBG [aps-service:7293473 aps-service-task-9755:42354 pau]: c.p.p.s.a.ExceptionHandlerServlet error response body={"error":"com.ingrammicro.imcp.library.aps.exception.APSError","packageId
":"6710e91e-f008-4e87-b411-134fa6920075","message":"zone","http_request":"POST https://ratingengine:8081/rest/adapter/20f2f6f0-d25f-44ed-b9d0-e142fd1c0b80/calculateWithTcv","pkgId":"6710e91e-f008-4e87-b411-13
4fa6920075"}, exception='500 Internal Server Error' received from 'POST https://ratingengine:8081/rest/adapter/20f2f6f0-d25f-44ed-b9d0-e142fd1c0b80/calculateWithTcv': zone
Mar 20 10:15:17.855 : DBG [pau-rest-endpoints:80712 pa-rest-task-548:39871 pau]: c.p.p.s.b.e.BillingApiRawAccessBean PBA API method BM::CalcSwitchPlanPeriodOrder_API failed with the following error: Rating En
gine call error: HTTP server returns error with code 500: zone
Error Code: 0x6b826929.
Report ID: 126198598
Mar 20 10:15:17.857 : DBG [bss-rest-endpoints:9072 pa-rest-task-548:39871 pau]: c.p.p.tracer exit by exception: com.parallels.pa.service.bss.xmlrpc.ejb.XmlRpcInvokerProxyBean.calcSwitchPlanPeriodOrderAPI corr
elationId f8f345a9-69e1-d64e-7733-f0471fd79b08 com.parallels.pa.rest.BillingAPIFault: Rating Engine call error: HTTP server returns error with code 500: zone


Cause


It is caused by software issue #RE-2435 in RE version 1.14 or lower when try to change Monthly BBP plan with price per period BP to other service plan with exact same parameters. Rating Engine can not perform calculation for target plan with same parameters. 


Resolution


This issue is fixed in RE version 1.15.3243 available on platform version 21.x.