Support Topics Documentation Slack YouTube Blog

Unable to Deploy AWS Lambda Service

Application ID: 56B058BD-D883-FCDC-FF12-7D3F47B57700
Error UID: 8DC1DAB7-F303-51D2-FFFD-8A6681344100

Backendless encountered an error while handling the request. An internal trouble ticket with ID 8DC1DAB7-F303-51D2-FFFD-8A6681344100 has been created and we will be investigating the issue.
javax.persistence.RollbackException: Error while committing the transaction
java.lang.RuntimeException: javax.persistence.RollbackException: Error while committing the transaction
	at com.backendless.services.CheckDeveloperPermission.execute(CheckDeveloperPermission.java:38)
	at com.backendless.inject.interceptors.AbstractDeveloperOperationInterceptor.invoke(AbstractDeveloperOperationInterceptor.java:20)
	at router.Routes$$anonfun$routes$1.$anonfun$applyOrElse$111(Routes.scala:12126)
	at play.core.routing.HandlerInvokerFactory$$anon$6.resultCall(HandlerInvoker.scala:138)
	at play.core.routing.HandlerInvokerFactory$$anon$6.resultCall(HandlerInvoker.scala:137)
	at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$3$$anon$4$$anon$5.invocation(HandlerInvoker.scala:111)
	at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:119)
	at play.http.DefaultActionCreator$1.call(DefaultActionCreator.java:33)
	at com.backendless.googleanalytic.ReportGoogleAnalyticsAction.call(ReportGoogleAnalyticsAction.java:43)
	at com.backendless.InitApiKeyForConsoleAction.call(InitApiKeyForConsoleAction.java:50)
	at com.backendless.ApiCallLimitAction.call(ApiCallLimitAction.java:26)
	at com.backendless.old.security.ConsoleOriginAction.call(ConsoleOriginAction.java:45)
	at com.backendless.StaticHttpResponseHeadersAction.call(StaticHttpResponseHeadersAction.java:22)
	at com.backendless.StackOverflowHandlerAction.call(StackOverflowHandlerAction.java:21)
	at com.backendless.CloseEntityManagerAction.call(CloseEntityManagerAction.java:36)
	at com.backendless.CurrentRequestsNumberAction.call(CurrentRequestsNumberAction.java:31)
	at com.backendless.old.security.ConsoleOriginAction.call(ConsoleOriginAction.java:45)
	at com.backendless.management.developer.DeveloperApplicationAccessAction.call(DeveloperApplicationAccessAction.java:30)
	at com.backendless.old.security.ApplicationExistenceAndUseAction.call(ApplicationExistenceAndUseAction.java:39)
	at com.backendless.management.developer.AbstractAuthenticateDeveloperAction.call(AbstractAuthenticateDeveloperAction.java:50)
	at play.core.j.JavaAction.$anonfun$apply$8(JavaAction.scala:175)
	at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659)
	at scala.util.Success.$anonfun$map$1(Try.scala:255)
	at scala.util.Success.map(Try.scala:213)
	at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
	at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
	at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at play.core.j.HttpExecutionContext.$anonfun$execute$1(HttpExecutionContext.scala:63)
	at play.api.libs.streams.Execution$trampoline$.execute(Execution.scala:70)
	at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:58)
	at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72)
	at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372)
	at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379)
	at scala.concurrent.impl.Promise.transform(Promise.scala:33)
	at scala.concurrent.impl.Promise.transform$(Promise.scala:31)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379)
	at scala.concurrent.Future.map(Future.scala:292)
	at scala.concurrent.Future.map$(Future.scala:292)
	at scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379)
	at scala.concurrent.Future$.apply(Future.scala:659)
	at play.core.j.JavaAction.apply(JavaAction.scala:176)
	at play.api.mvc.Action.$anonfun$apply$4(Action.scala:82)
	at play.api.libs.streams.StrictAccumulator.$anonfun$mapFuture$4(Accumulator.scala:167)
	at scala.util.Try$.apply(Try.scala:213)
	at play.api.libs.streams.StrictAccumulator.$anonfun$mapFuture$3(Accumulator.scala:167)
	at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
	at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
	at scala.Function1.$anonfun$andThen$1(Function1.scala:57)
	at play.api.libs.streams.StrictAccumulator.run(Accumulator.scala:198)
	at play.api.libs.streams.FlattenedAccumulator.$anonfun$run$2(Accumulator.scala:215)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
	at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:47)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.persistence.RollbackException: Error while committing the transaction
	at org.hibernate.internal.ExceptionConverterImpl.convertCommitException(ExceptionConverterImpl.java:81)
	at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:104)
	at com.backendless.datamodel.dao.AbstractTransaction.commit(AbstractTransaction.java:103)
	at com.backendless.datamodel.dao.JpaTransaction.execute(JpaTransaction.java:279)
	at com.backendless.datamodel.dao.JpaTransaction.executeApp(JpaTransaction.java:103)
	at com.backendless.servercode.services.parser.impl.GenericServiceParser.saveAllServices(GenericServiceParser.java:162)
	at com.backendless.servercode.services.parser.impl.GenericServiceParser.parse(GenericServiceParser.java:132)
	at com.backendless.management.servercode.service.CustomServiceManagement.parseBusinessLogic(CustomServiceManagement.java:335)
	at com.backendless.monitor

Problem description

After creating lambda I am trying to deploy and getting the above permission issue.
Unable to understand it the issue is with AWS Access key that I am using or permission issues with in Backendless.

Steps to reproduce

Please describe steps to reproduce starting from the first action.
Just followed the video tutorial is using AWS Lambda by Backendless team.

Hello @Giridhar_Duggirala,

Your method names is longer then 45 symbols. Make they less or equals to 45. Also I have created ticket to improve the message BKNDLSS-22610. By the way path can be 255 length.

1 Like