Issue with Content creation #812
Replies: 3 comments 2 replies
-
|
Here are more logs from browser: Request data: Response: |
Beta Was this translation helpful? Give feedback.
-
|
@aimansharief , btw, that namespace is defined as oci tenancy namespace so I tested the link with nested object is available. |
Beta Was this translation helpful? Give feedback.
-
|
thanks @aimansharief! it's fixed after change the path as suggested. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
This is what I've done so far:
ported code to work with OCI using 'oci-integration' branch

infra provision - done
helm deployment by install.sh - done
First landing page as Guest - seems to be fine
Created content creator user and logged in as below:
Go to Workspace to create some contents:

Once I go to Create -> Course then I get these errors:

javax.json.stream.JsonParsingException: Unexpected char 0 at (line no=108, column no=4, offset=1957) at org.glassfish.json.JsonTokenizer.unexpectedChar(JsonTokenizer.java:577) at org.glassfish.json.JsonTokenizer.nextToken(JsonTokenizer.java:394) at org.glassfish.json.JsonParserImpl$ObjectContext.getNextEvent(JsonParserImpl.java:442) at org.glassfish.json.JsonParserImpl.next(JsonParserImpl.java:352) at org.leadpony.justify.internal.base.json.JsonParserDecorator.fetchNextEvent(JsonParserDecorator.java:110) at org.leadpony.justify.internal.base.json.AbstractStreamJsonParser.next(AbstractStreamJsonParser.java:52) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseObject(JsonSchemaReaderImpl.java:218) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseValue(JsonSchemaReaderImpl.java:187) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseObject(JsonSchemaReaderImpl.java:227) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseValue(JsonSchemaReaderImpl.java:187) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseObject(JsonSchemaReaderImpl.java:227) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseValue(JsonSchemaReaderImpl.java:187) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseObject(JsonSchemaReaderImpl.java:227) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.parseValue(JsonSchemaReaderImpl.java:187) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.readRootSchema(JsonSchemaReaderImpl.java:174) at org.leadpony.justify.internal.schema.io.JsonSchemaReaderImpl.readSchema(JsonSchemaReaderImpl.java:97) at org.leadpony.justify.internal.schema.io.AbstractJsonSchemaReader.read(AbstractJsonSchemaReader.java:73) at org.leadpony.justify.internal.schema.io.AbstractProbeSchemaReader.readSchema(AbstractProbeSchemaReader.java:53) at org.leadpony.justify.internal.schema.io.AbstractJsonSchemaReader.read(AbstractJsonSchemaReader.java:73) at org.sunbird.schema.impl.BaseSchemaValidator.readSchema(BaseSchemaValidator.java:73) at org.sunbird.schema.impl.JsonSchemaValidator.loadSchema(JsonSchemaValidator.java:37) at org.sunbird.schema.impl.JsonSchemaValidator.<init>(JsonSchemaValidator.java:24) at org.sunbird.schema.SchemaValidatorFactory.initSchema(SchemaValidatorFactory.java:49) at org.sunbird.schema.SchemaValidatorFactory.getInstance(SchemaValidatorFactory.java:21) at org.sunbird.graph.schema.IDefinition.<init>(IDefinition.scala:11) at org.sunbird.graph.schema.validator.BaseDefinitionNode.<init>(BaseDefinitionNode.scala:17) at org.sunbird.graph.schema.DefinitionDTO.<init>(DefinitionDTO.scala:17) at org.sunbird.graph.schema.DefinitionFactory$.$anonfun$getDefinition$1(DefinitionFactory.scala:14) at scala.collection.immutable.Map$Map1.getOrElse(Map.scala:145) at org.sunbird.graph.schema.DefinitionFactory$.getDefinition(DefinitionFactory.scala:14) at org.sunbird.graph.schema.DefinitionNode$.getRestrictedProperties(DefinitionNode.scala:68) at org.sunbird.util.RequestUtil$.restrictProperties(RequestUtil.scala:21) at org.sunbird.content.actors.ContentActor.create(ContentActor.scala:68) at org.sunbird.content.actors.ContentActor.onReceive(ContentActor.scala:42) at org.sunbird.actor.core.BaseActor.internalOnReceive(BaseActor.java:29) at org.sunbird.actor.core.BaseActor.lambda$createReceive$0(BaseActor.java:43) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:127) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175) at akka.actor.Actor.aroundReceive(Actor.scala:539) at akka.actor.Actor.aroundReceive$(Actor.scala:537) at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:226) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:610) at akka.actor.ActorCell.invoke(ActorCell.scala:579) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268) at akka.dispatch.Mailbox.run(Mailbox.scala:229) at akka.dispatch.Mailbox.exec(Mailbox.scala:241) at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Exception occurred - class :javax.json.stream.JsonParsingException with message :Unexpected char 0 at (line no=108, column no=4, offset=1957) 2025-08-15 02:24:14,130 {"eid":"LOG","ets":1755224654130,"ver":"3.0","mid":"LP.1755224654130.5e0f57db-91a7-47d7-bd4f-7118a8a0bc93","actor":{"id":"org.sunbird.learning.platform","type":"System"},"context":{"channel":"in.ekstep","pdata":{"id":"staging.sunbird.portal","pid":"","ver":"1.0"},"env":"content","sid":"UXzoClRJHcE4mc8Vfx30_cDCFcVjmuq6","did":"7267a1d6e117050890e384962866211e"},"edata":{"level":"INFO","type":"api_access","message":"","params":[{"duration":90},{"protocol":"http"},{"size":302},{"method":"POST"},{"uip":"10.1.1.27"},{"url":"/content/v3/create"},{"status":500}]},"syncts":1755224654130} 2025-08-15 02:24:14,130 {"eid":"LOG","ets":1755224654130,"ver":"3.0","mid":"LP.1755224654130.5e0f57db-91a7-47d7-bd4f-7118a8a0bc93","actor":{"id":"org.sunbird.learning.platform","type":"System"},"context":{"channel":"in.ekstep","pdata":{"id":"staging.sunbird.portal","pid":"","ver":"1.0"},"env":"content","sid":"UXzoClRJHcE4mc8Vfx30_cDCFcVjmuq6","did":"7267a1d6e117050890e384962866211e"},"edata":{"level":"INFO","type":"api_access","message":"","params":[{"duration":90},{"protocol":"http"},{"size":302},{"method":"POST"},{"uip":"10.1.1.27"},{"url":"/content/v3/create"},{"status":500}]},"syncts":1755224654130}and here is the screen shot:
Any idea to resolve this?
Beta Was this translation helpful? Give feedback.
All reactions