AWS S3 integration with Simplifier
-
AdityaHas successfully completed the online course IntroductionHas successfully completed the online course Basics (100)1 year ago #39169
Hi Team,
Can we integrate the AWS S3 with Simplifier platform ? Is there any example available ?
Regards,
Aditya Shukla
Armin WinklerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)10 months ago #43494::Hi Aditya,
if you feel like your error would be caused by a bug in the Simplifier platform, please raise a ticket in our support portal mentioning the name of the customer you need this AWS integration for as well as an exact use case description. We would then help you based on a paid Enabling budget of the customer.
Thank you and kind regards,
Armin
Andreas DallnerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced CertificationAndreas DallnerHas successfully completed the online course IntroductionHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification1 year ago #40009::Hi Aditya,
do you want to operate Simplifier itself on AWS S3? This not supported.
Or do you want to use AWS S3 integration inside applications. In that case you can use the S3 REST Api: https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html
Kind regards,
AndreasAdityaHas successfully completed the online course IntroductionHas successfully completed the online course Basics (100)1 year ago #42129::Hi Team,
I created an AWS account and created a GET end point to get the folders information from S3 bucket using API Gateway, which is working on Postman but the same is not working on Simplifier. The error says that there is some unknown token.
{
“message”: “unknown token %\nNear: %P”,
“success”: false
}I am able to establish the test connection from Simplifier but while executing the connector call, I get the error mentioned above.
I am sharing the Request Payload and Response Payload for your reference.
Request Payload:
{
“inputParams”: {
“folder”: {
“dataType”: “String”,
“value”: “mybucketfordemoinsimplifier”
},
“verb”: {
“dataType”: “String”,
“const”: “GET”
}
}
}Response Payload:
{
“errorMessage”: “An error occurred during the parsing process of the Http-Entity’s Json body.”,
“stackTrace”: “com.itizzimo.appServer.connector.ConnectorType$ConnectorExecutionException: An error occurred during the parsing process of the Http-Entity’s Json body.\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse$.ParsingError(RESTStepTransformResponse.scala:279)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse$$anonfun$handleTransformationErrors$1.applyOrElse(RESTStepTransformResponse.scala:250)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse$$anonfun$handleTransformationErrors$1.applyOrElse(RESTStepTransformResponse.scala:249)\n\tat scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:34)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.applyExecRecovery(ConnectorExecutionContext.scala:215)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:144)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalRecoveryIntermediate(ConnectorExecutionContext.scala:168)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:146)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalRecoveryIntermediate(ConnectorExecutionContext.scala:168)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:146)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evalIntermediate(ConnectorExecutionContext.scala:164)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecutionImpl(ConnectorExecutionContext.scala:141)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecution(ConnectorExecutionContext.scala:110)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionContext.evaluateExecution$(ConnectorExecutionContext.scala:106)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionRunner.evaluateExecution(ConnectorExecutionRunner.scala:24)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionRunner$$anonfun$receive$1.applyOrElse(ConnectorExecutionRunner.scala:39)\n\tat akka.actor.Actor.aroundReceive(Actor.scala:514)\n\tat akka.actor.Actor.aroundReceive$(Actor.scala:512)\n\tat com.itizzimo.appServer.connector.execution.ConnectorExecutionRunner.aroundReceive(ConnectorExecutionRunner.scala:24)\n\tat akka.actor.ActorCell.receiveMessage(ActorCell.scala:527)\n\tat akka.actor.ActorCell.invoke(ActorCell.scala:496)\n\tat akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:224)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:750)\nCaused by: net.liftweb.json.JsonParser$ParseException: unknown token <\nNear: <?\n\tat net.liftweb.json.JsonParser$Parser.fail(JsonParser.scala:285)\n\tat net.liftweb.json.JsonParser$Parser.nextToken(JsonParser.scala:386)\n\tat net.liftweb.json.JsonParser$.$anonfun$astParser$1(JsonParser.scala:227)\n\tat net.liftweb.json.JsonParser$.parse(JsonParser.scala:82)\n\tat net.liftweb.json.JsonParser$.parse(JsonParser.scala:47)\n\tat net.liftweb.json.package$.parse(package.scala:40)\n\tat com.itizzimo.appServer.util.json.JSONFormatter$.$anonfun$parseJSON$3(JSONFormatter.scala:70)\n\tat scala.util.Try$.apply(Try.scala:209)\n\tat com.itizzimo.appServer.util.json.JSONFormatter$.parseJSON(JSONFormatter.scala:70)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$convertBodyToJson$2(RESTStepTransformResponse.scala:175)\n\tat scala.util.Success.flatMap(Try.scala:247)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.convertBodyToJson(RESTStepTransformResponse.scala:174)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.createJSONOnlyResult(RESTStepTransformResponse.scala:139)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.createResult(RESTStepTransformResponse.scala:124)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$transformResponseProcess$6(RESTStepTransformResponse.scala:90)\n\tat scala.util.Success.flatMap(Try.scala:247)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$transformResponseProcess$5(RESTStepTransformResponse.scala:89)\n\tat scala.util.Success.flatMap(Try.scala:247)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$transformResponseProcess$4(RESTStepTransformResponse.scala:88)\n\tat scala.util.Success.flatMap(Try.scala:247)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$transformResponseProcess$3(RESTStepTransformResponse.scala:87)\n\tat scala.util.Success.flatMap(Try.scala:247)\n\tat com.itizzimo.appServer.connector.types.rest.operations.stepsExecute.RESTStepTransformResponse.$anonfun$transformResponseProcess$1(RESTStepTransformResponse.scala:86)\n\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:655)\n\tat scala.util.Success.$anonfun$map$1(Try.scala:251)\n\tat scala.util.Success.map(Try.scala:209)\n\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:289)\n\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)\n\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)\n\tat akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)\n\tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)\n\tat scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)\n\tat akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)\n\t… 3 more\n”
}I am not sure, if the REST API that I have created here requires some additional configurations in Simplifier or not, because the same is working on Postman. Can you please help me out here ?
Thanks & Regards,
Aditya Shukla
You must be logged in to reply to this topic.