Error is coming while calling REST service. What will be possible reason for the error?

0
ERROR - ActionManager: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service B/0]      at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:65) 2021-11-01T08:00:00.787042 [APP/PROC/WEB/0]  Caused by: com.mendix.modules.microflowengine.MicroflowException: 500: Internal Server Error
asked
3 answers
1

A '500' code means that the publishing service can't process the request for some reason. Usually it's a field or a header that's expected or a formatting issue. If this is all the information you get, you will need help from the publishing party, or their documentation to pinpoint where things go wrong.

answered
0

Advanced stacktrace:
2021-11-01T08:00:00.787313 [APP/PROC/WEB/0]      at com.mendix.integration.actions.microflow.RestCallAction.checkStatusCode(RestCallAction.scala:103)
2021-11-01T08:00:00.787322 [APP/PROC/WEB/0]      at com.mendix.integration.actions.microflow.RestCallAction.handleResponse(RestCallAction.scala:85)
2021-11-01T08:00:00.787419 [APP/PROC/WEB/0]      at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$execute$2(RestCallAction.scala:61)
2021-11-01T08:00:00.787478 [APP/PROC/WEB/0]      at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)
2021-11-01T08:00:00.787530 [APP/PROC/WEB/0]      at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:60)
2021-11-01T08:00:00.787569 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32)
2021-11-01T08:00:00.787611 [APP/PROC/WEB/0]      at scala.Option.flatMap(Option.scala:283)
2021-11-01T08:00:00.787666 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29)
2021-11-01T08:00:00.787727 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:172)
2021-11-01T08:00:00.787754 [APP/PROC/WEB/0]      at scala.Option.flatMap(Option.scala:283)
2021-11-01T08:00:00.787821 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:172)
2021-11-01T08:00:00.787872 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:119)
2021-11-01T08:00:00.787943 [APP/PROC/WEB/0]      at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)
2021-11-01T08:00:00.787986 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)
2021-11-01T08:00:00.788067 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)
2021-11-01T08:00:00.788115 [APP/PROC/WEB/0]      at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)
2021-11-01T08:00:00.788172 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147)
2021-11-01T08:00:00.788190 [APP/PROC/WEB/0]      at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)
2021-11-01T08:00:00.788265 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152)
2021-11-01T08:00:00.788343 [APP/PROC/WEB/0]      at com.mendix.basis.component.InternalCoreBase.executeSync(InternalCoreBase.java:376)
2021-11-01T08:00:00.788406 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.MicroflowExecuter$.executeSync(MicroflowExecuter.scala:18)
2021-11-01T08:00:00.788419 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:34)
2021-11-01T08:00:00.788494 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32)
2021-11-01T08:00:00.788554 [APP/PROC/WEB/0]      at scala.Option.flatMap(Option.scala:283)
2021-11-01T08:00:00.788598 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29)
2021-11-01T08:00:00.788637 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:172)
2021-11-01T08:00:00.788697 [APP/PROC/WEB/0]      at scala.Option.flatMap(Option.scala:283)
2021-11-01T08:00:00.788752 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:172)
2021-11-01T08:00:00.788825 [APP/PROC/WEB/0]      at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:119)
2021-11-01T08:00:00.788862 [APP/PROC/WEB/0]      at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)
2021-11-01T08:00:00.788918 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)
2021-11-01T08:00:00.788957 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)
2021-11-01T08:00:00.789021 [APP/PROC/WEB/0]      at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)
2021-11-01T08:00:00.789057 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147)
2021-11-01T08:00:00.789099 [APP/PROC/WEB/0]      at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)
2021-11-01T08:00:00.789163 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152)
2021-11-01T08:00:00.789222 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40)
2021-11-01T08:00:00.789278 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.UserScheduledAction.executeScheduledAction(UserScheduledAction.scala:39)
2021-11-01T08:00:00.789333 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ScheduledAction$ScheduledRun.$anonfun$run$1(ScheduledAction.scala:26)
2021-11-01T08:00:00.789395 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)
2021-11-01T08:00:00.789442 [APP/PROC/WEB/0]      at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26)
2021-11-01T08:00:00.789548 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)
2021-11-01T08:00:00.789555 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)
2021-11-01T08:00:00.789608 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ScheduledAction$ScheduledRun.monitor(ScheduledAction.scala:14)
2021-11-01T08:00:00.789648 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ScheduledAction$ScheduledRun.run(ScheduledAction.scala:26)
2021-11-01T08:00:00.789685 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ScheduledAction.execute(ScheduledAction.scala:67)
2021-11-01T08:00:00.789742 [APP/PROC/WEB/0]      at com.mendix.basis.actionmanagement.ScheduledAction.run(ScheduledAction.scala:47)
2021-11-01T08:00:00.789812 [APP/PROC/WEB/0]      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2021-11-01T08:00:00.789856 [APP/PROC/WEB/0]      at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
2021-11-01T08:00:00.789920 [APP/PROC/WEB/0]      at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
2021-11-01T08:00:00.789963 [APP/PROC/WEB/0]      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2021-11-01T08:00:00.790017 [APP/PROC/WEB/0]      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2021-11-01T08:00:00.790058 [APP/PROC/WEB/0]      at java.base/java.lang.Thread.run(Unknown Source)
2021-11-01T10:01:33.663817 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: images/
2021-11-01T10:17:53.520954 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: debug/pprof/
2021-11-01T10:29:46.963012 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: awstats/cgi-bin/awstats.pl
2021-11-01T11:16:04.783060 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: elmah.axd
2021-11-01T11:47:57.111848 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: infoinfo.php
2021-11-01T13:37:39.018471 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: infos.php
2021-11-01T13:41:33.917409 [APP/PROC/WEB/0]  ERROR - Connector: 404 - file not found for file: config/databases.yml
2021-11-01T13:48:14.029760 [APP/PROC/WEB/0]  time="2021-11-01T13:48:14Z" level=error msg="USAGE_METRICS_EMAIL_FIELDS requested but not setted" EnvironmentName=d3b1ad14-b164-4485-aaed-89bf1d29dd83 ProjectID=f4e1b280-a011-924a-a0b4-8f0a18a65e35 Service=UMS
2021-11-01T14:22:11.951199 [API/0]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:22:54.100241 [API/0]  Uploading bits for app with guid 4a85e438-8341-4a59-8a2b-255f6a254006
2021-11-01T14:22:55.913251 [API/0]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"lifecycle"=>{"data"=>{"buildpacks"=>["mendix_buildpack"], "stack"=>"cflinuxfs3"}, "type"=>"buildpack"}})
2021-11-01T14:22:56.686568 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:44.888492 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:49.382936 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:52.061291 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:54.507145 [API/0]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:57.138721 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:24:59.908832 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:25:02.531734 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:25:07.433825 [API/1]  Updated app with guid 4a85e438-8341-4a59-8a2b-255f6a254006 ({"environment_json"=>"[PRIVATE DATA HIDDEN]"})
2021-11-01T14:25:09.746949 [API/0]  Stopping app with guid 4a85e438-8341-4a59-8a2b-255f6a254006
2021-11-01T14:25:09.848152 [CELL/0]  Cell b205815b-08e0-4a3d-8676-484b1b87a723 stopping instance 794d0b12-945e-436a-5dd9-5414

answered
0

There is a problem in the server. Does the service that you call have logs?

answered