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

Jint exception - Unknown type or Object expected #14

Open
srudolph-credera opened this issue May 12, 2023 · 0 comments
Open

Jint exception - Unknown type or Object expected #14

srudolph-credera opened this issue May 12, 2023 · 0 comments

Comments

@srudolph-credera
Copy link

Note to the maintainer(s): Logging this as a combined issue + solution for anyone else that encounters it, feel free to close this immediately or make it a documentation update issue!

If you are attempting to test your SSJS-lib installation via a CloudPage and see an error in the preview after clicking "Schedule/Publish", do not assume that there will be an error in the actual published version of the CloudPage! In particular, the 'Unknown type' and 'Object expected' exceptions can be incorrect. The preview environment does not appear to add globally-scoped functions and vars defined in recursive scripts to the global scope, unlike the published environment.

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

1 participant