next on empty iterator Post Method Rest Service call
0
hi everyone, I get this Next on empty iterator error on calling a rest Service of Method POST. Can i know the reason for this and how do i resolve this issue ? below is the details of the error Error parsing JSON. next on empty iterator at com.mendix.integration.importer.json.JsonImporter.$anonfun$parseJson$2(JsonImporter.scala:57) at scala.util.Using$.resource(Using.scala:261) at com.mendix.integration.importer.json.JsonImporter.$anonfun$parseJson$1(JsonImporter.scala:46) at scala.util.Using$.resource(Using.scala:261) at com.mendix.integration.importer.json.JsonImporter.parseJson(JsonImporter.scala:45) at com.mendix.integration.importer.json.JsonImporter.parse$1(JsonImporter.scala:34) at com.mendix.integration.importer.json.JsonImporter.$anonfun$importStream$1(JsonImporter.scala:36) at com.mendix.integration.util.ContextUtil$RichContext$.withTransaction$extension(ContextUtil.scala:11) at com.mendix.integration.importer.json.JsonImporter.importStream(JsonImporter.scala:36) at com.mendix.integration.internal.InternalIntegration.doImportStream(InternalIntegration.scala:93) at com.mendix.integration.internal.InternalIntegration.doImportStream$(InternalIntegration.scala:81) at com.mendix.integration.internal.InternalIntegrationImpl.doImportStream(InternalIntegrationImpl.scala:39) at com.mendix.integration.actions.ImportMappingResult$.apply(ImportMappingResult.scala:62) at com.mendix.integration.actions.ServiceCallResult$.importResponse$1(ServiceCallResult.scala:50) at com.mendix.integration.actions.ServiceCallResult$.apply(ServiceCallResult.scala:55) at com.mendix.integration.actions.microflow.RestCallAction.handleResponse(RestCallAction.scala:100) at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$execute$4(RestCallAction.scala:74) at scala.util.Try$.apply(Try.scala:210) at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$execute$3(RestCallAction.scala:74) at scala.util.Success.flatMap(Try.scala:258) at com.mendix.http.HttpExecutor$.withResponse(HttpExecutor.scala:23) at com.mendix.http.HttpExecutor$.request(HttpExecutor.scala:15) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:73) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:39) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:167)