#.cooper4952
1 messages ยท Page 1 of 1 (latest)
Hi, Thank you
I am calling setReaderDisplay js function but it response this error that I shared
I am also curios how you can review my old message with @earnest hare
I can read through it, but it will take some time
I am talking to some other users too
Thank you. Please help as soon as possible.
Ok I read the thread. So to confirm you did this step as instructed?
You should be doing something like const displayResult = await terminalRef.current.setReaderDisplay(readerDisplayObj) and then looking inside displayResult to see if there's an error or not.
yes, so I am getting this error
"unable to parse request setReaderDisplay" error code: "reader_error"
Gotcha. Let me see if a colleague can help you with this. I'm not as familiar with terminal as some
Thank you. Please
Hmmmm strange
Looks fine
Looking more
Can you log out terminalRef.current just before calling setReaderDisplay
I think it will be failed if it logged out
can I reconnect before setReaderDisplay?
You shouldn't need to reconnect? Not sure I understand what you are saying... terminalRef.current should be the instance of your Terminal JS SDK, no? And you should have already connected prior to this point?
Ah actually @limpid phoenix can you log out readerDisplayObj right before calling setReaderDisplay()
And by "log out" I mean console.log() ๐
๐