Skip to content

Jint exception - Unknown type or Object expected #14

Open
@srudolph-credera

Description

@srudolph-credera

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions