Text

myscript websocket "setTheme" type message returns error

I am trying to configure websocket connection to myscript server but when i send "setTheme" type message it returns an error with error code "session.no.content.part" and message "No content part current found".i searched but couldn't find what this error means. could someone help me with what it means and how to fix it?

1 Comment

Hi Faisal,


Thank you for your question.


This error means that you have not sent a content Part to your package.


So, you should create a part, before setting a theme.
The part type can be MATh or TEXT.

For further details please refer to:


https://developer.myscript.com/docs/interactive-ink/1.4/web/websockets/messages/#creating-a-new-part


Best regards,


Gwenaëlle

Login or Signup to post a comment