Support Topics Documentation Slack YouTube Blog

Currently our Backendless sends 502 error

Dear team,

I have error 502 while trying to open the files from the URL (using console to access the file)

https://backendlessappcontent.com/A27D7568-B7AD-DC84-FFE6-1DE40A40E500/console/qmwurxmxiufmdlfscbmdobyevduzbdzrsipx/files/view/lib/Сказка%20для%20диагностики/зайчик%20с%20морковкой.jpg

APP ID = A27D7568-B7AD-DC84-FFE6-1DE40A40E500

Backendless encountered an error while handling the request. An internal trouble ticket with ID 9588D8DC-3EB9-B261-FFE8-F919AF275300 has been created and we will be investigating the issue.
Error converting Play Result for server backend
play.core.server.common.ServerResultException: Error converting Play Result for server backend
at play.core.server.common.ServerResultUtils.play$core$server$common$ServerResultUtils$$handleConversionError$1(ServerResultUtils.scala:173)
at play.core.server.common.ServerResultUtils$$anonfun$resultConversionWithErrorHandling$9.applyOrElse(ServerResultUtils.scala:195)
at play.core.server.common.ServerResultUtils$$anonfun$resultConversionWithErrorHandling$9.applyOrElse(ServerResultUtils.scala:195)
at scala.concurrent.Future.$anonfun$recoverWith$1(Future.scala:417)
at akka.http.scaladsl.util.FastFuture$.$anonfun$transformWith$2(FastFuture.scala:37)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:46)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension0(FastFuture.scala:37)
at akka.http.scaladsl.util.FastFuture$ErrorFuture.transformWith(FastFuture.scala:97)
at scala.concurrent.Future.recoverWith(Future.scala:416)
at scala.concurrent.Future.recoverWith$(Future.scala:415)
at akka.http.scaladsl.util.FastFuture$ErrorFuture.recoverWith(FastFuture.scala:88)
at play.core.server.common.ServerResultUtils.resultConversionWithErrorHandling(ServerResultUtils.scala:195)
at play.core.server.akkahttp.AkkaModelConversion.convertResult(AkkaModelConversion.scala:215)
at play.core.server.AkkaHttpServer.$anonfun$runAction$5(AkkaHttpServer.scala:425)
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: java.lang.IllegalArgumentException: Character 1077 cannot match AsciiSet because it is out of range
at play.core.utils.AsciiBitSet.get(AsciiSet.scala:91)
at play.core.server.common.ServerResultUtils.loop$1(ServerResultUtils.scala:130)
at play.core.server.common.ServerResultUtils.validateString(ServerResultUtils.scala:135)
at play.core.server.common.ServerResultUtils.validateHeaderValueChars(ServerResultUtils.scala:124)
at play.core.server.akkahttp.AkkaModelConversion.$anonfun$convertHeaders$1(AkkaModelConversion.scala:285)
at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)
at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:490)
at scala.collection.Iterator.foreach(Iterator.scala:941)
at scala.collection.Iterator.foreach$(Iterator.scala:941)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:62)
at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:53)
at scala.collection.immutable.VectorBuilder.$plus$plus$eq(Vector.scala:662)
at scala.collection.immutable.VectorBuilder.$plus$plus$eq(Vector.scala:639)
at scala.collection.TraversableOnce.to(TraversableOnce.scala:315)
at scala.collection.TraversableOnce.to$(TraversableOnce.scala:313)
at scala.collection.AbstractIterator.to(Iterator.scala:1429)
at scala.collection.TraversableOnce.toVector(TraversableOnce.scala:311)
at scala.collection.TraversableOnce.toVector$(TraversableOnce.scala:311)
at scala.collection.AbstractIterator.toVector(Iterator.scala:1429)
at play.core.server.akkahttp.AkkaModelConversion.convertHeaders(AkkaModelConversion.scala:276)
at play.core.server.akkahttp.AkkaModelConversion.$anonfun$convertResult$2(AkkaModelConversion.scala:194)
at akka.http.scaladsl.util.FastFuture$.$anonfun$map$1(FastFuture.scala:23)
at akka.http.scaladsl.util.FastFuture$.strictTransform$1(FastFuture.scala:41)
at akka.http.scaladsl.util.FastFuture$.transformWith$extension1(FastFuture.scala:55)
at akka.http.scaladsl.util.FastFuture$.map$extension(FastFuture.scala:23)
at play.core.server.akkahttp.AkkaModelConversion.$anonfun$convertResult$1(AkkaModelConversion.scala:193)
… 15 more

You referenced console URL, that URL works only when it is accessed by an active session where Backendless developer is logged in. To access files in Backendless Files storage, you need to use file’s public URL: