Skip to content

Exception has occurred: Object #192

Closed

Description

@cefn

When calling the stack.sync API, I get an exception which is reported as...

The promise rejected with the reason "#".

Here's a screenshot of a debugger showing the failing line within the minified code of the project running my test case.

image

See https://gist.github.com/joepie91/04cc8329df231ea3e262dffe3d41f848#why-its-unnecessary-to-include-minified-builds for some reasoning that suggests the contentstack package should not be minified before distribution via NPM given it creates problems like this for no reason.

See also e.g. https://www.briefs.fm/3-minutes-with-kent/221 for more explanation. I have no idea why it's minified and it makes debugging it near to impossible.

Activity

  1. cs-raj commented on Sep 11, 2024

    @cs-raj
    Contributor

    Hi @cefn thanks for raising this we will be looking into this and we will update once we have a fixed it
    cc: @netrajpatel

  2. vkalta commented on Dec 18, 2024

    @vkalta
    Contributor

    Hi @cefn , thanks for your patience. A PR has been created for this fix and is being reviewed currently.
    #261

  3. vkalta commented on Jan 8, 2025

    @vkalta
    Contributor

    Hi @cefn , the PR unfortunately was not approved. The team has asked if we could connect and help you debug the cause of the issue.
    cc: @netrajpatel

  4. harshithad0703 commented on Mar 4, 2025

    @harshithad0703
    Contributor

    Hi @cefn
    The fix has been released in version 3.23.1, do create new thread if the issue still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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