Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50004: TypeError when sending request, msg: Cannot read properties of null (reading 'postMessage') #21

Open
karnveer1994 opened this issue Jun 18, 2024 · 2 comments

Comments

@karnveer1994
Copy link

This error is coming when I am going back and then forward in browser. on reload and without navigating to other pages its working fine.

const assessApp = LearnosityItems.init(data, {
readyListener: ()=> {
console.log("assessment started")
bindAssessmentAppEvents(assessApp, data.request.session_id, activityId)
},
errorListener: (error) => {

}

});

@karnveer1994
Copy link
Author

https://items.learnosity.com/v1.122.3/dist/api.js

this is the script in which I am getting error

@anthony-murphy-lrn
Copy link
Collaborator

@karnveer1994 apologies for the delay in responding, could you please share some detail on this, how have you set up the data Object for instance, you might be missing some required properties or you might have some formatting issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants