Hi I have developed in Mendix 7.16 a published service with a: Get (all) Get (one) Post Put Services worked on full cylinders but after an upgrade to 7.17.2 the PUT call results in an error: { "error": { "code": 404, "message": "'INC0000678' is not a valid Unknown" } } And all other services are working fine. I read the release notes and noticed that some changes on published services is carried out. Does anyone have an idea? Thanks Zef PS: some logging Could not parse path arguments for -------- com.mendix.integration.service.rest.ArgumentParseException: 'INC0000018' is not a valid Unknown at com.mendix.integration.service.rest.microflowarguments.ParseArgumentValue$.failedParse(ParseArgumentValue.scala:32) at com.mendix.integration.service.rest.microflowarguments.ParseArgumentValue$.apply(ParseArgumentValue.scala:22) at com.mendix.integration.service.rest.microflowarguments.ObjectOrListArgument.getArgument(ObjectOrListArgument.scala:77) at com.mendix.integration.service.rest.microflowarguments.ObjectOrListArgument.apply(ObjectOrListArgument.scala:40) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.objectOperationArgument(RestMicroflowArguments.scala:100) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.operationArgument(RestMicroflowArguments.scala:92) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.$anonfun$apply$1(RestMicroflowArguments.scala:51) at com.mendix.integration.util.IteratorUtil$RichMap$.$anonfun$traverseValues$1(IteratorUtil.scala:42) at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234) at scala.collection.immutable.Map$Map3.foreach(Map.scala:192) at scala.collection.TraversableLike.map(TraversableLike.scala:234) at scala.collection.TraversableLike.map$(TraversableLike.scala:227) at scala.collection.AbstractTraversable.map(Traversable.scala:104) at com.mendix.integration.util.IteratorUtil$RichMap$.$anonfun$traverseValues$extension$1(IteratorUtil.scala:42) at scala.util.Try$.apply(Try.scala:209) at com.mendix.integration.util.IteratorUtil$RichMap$.traverseValues$extension(IteratorUtil.scala:42) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.apply(RestMicroflowArguments.scala:51) at com.mendix.integration.service.rest.RestOperationProcessors.getMicroflowResult(RestOperationProcessors.scala:188) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$6(RestOperationProcessors.scala:124) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.integration.service.ServiceMonitoredAction.monitor(ServiceMonitoredAction.scala:7) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$5(RestOperationProcessors.scala:123) at com.mendix.integration.service.rest.RestOperationProcessors.withAuthenticationContext(RestOperationProcessors.scala:147) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$4(RestOperationProcessors.scala:119) at com.mendix.integration.service.rest.RestOperationProcessors.operationResponse(RestOperationProcessors.scala:122) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$processOperations$4(RestOperationProcessors.scala:92) at scala.Option.fold(Option.scala:158) at com.mendix.integration.service.rest.RestOperationProcessors.processOperations(RestOperationProcessors.scala:92) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$createProcessor$1(RestOperationProcessors.scala:68) at com.mendix.integration.service.PathProcessors.$anonfun$process$3(PathProcessors.scala:27) at scala.Option.fold(Option.scala:158) at com.mendix.integration.service.PathProcessors.$anonfun$process$1(PathProcessors.scala:27) at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:482) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:488) at scala.collection.Iterator.isEmpty(Iterator.scala:383) at scala.collection.Iterator.isEmpty$(Iterator.scala:383) at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1432) at com.mendix.integration.util.IteratorUtil$RichIterator$.headOption$extension(IteratorUtil.scala:38) at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:28) at com.mendix.integration.service.PathProcessors.process(PathProcessors.scala:24) at com.mendix.integration.service.PathProcessors.process$(PathProcessors.scala:23) at com.mendix.integration.service.rest.RestOperationProcessors.process(RestOperationProcessors.scala:35) at com.mendix.integration.requesthandlers.RestRequestHandler.$anonfun$processRequest$1(RestRequestHandler.scala:26) at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:482) at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:488) at scala.collection.Iterator.isEmpty(Iterator.scala:383) at scala.collection.Iterator.isEmpty$(Iterator.scala:383) at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1432) at com.mendix.integration.util.IteratorUtil$RichIterator$.headOption$extension(IteratorUtil.scala:38) at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:28) at com.mendix.integration.requesthandlers.RestRequestHandler.processRequest(RestRequestHandler.scala:26) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:870) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748)
asked
Zefanja Kleuters
1 answers
0
This issue will be fixed in the next release (7.19)
In the mean time, you can add a parameter to the import mapping with the same type as the path parameter in the PUT operation.