When calling the stack.sync API, I get an exception which is reported as... > The promise rejected with the reason "#<Object>". Here's a screenshot of a debugger showing the failing line within the minified code of the project running my test case.  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
cs-raj commentedon Sep 11, 2024
Hi @cefn thanks for raising this we will be looking into this and we will update once we have a fixed it
cc: @netrajpatel
vkalta commentedon Dec 18, 2024
Hi @cefn , thanks for your patience. A PR has been created for this fix and is being reviewed currently.
#261
vkalta commentedon Jan 8, 2025
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
harshithad0703 commentedon Mar 4, 2025
Hi @cefn
The fix has been released in version 3.23.1, do create new thread if the issue still persists