# Undefined is not an object (evaluating 'Module\["asm"\]\["malloc"\]')

**URL:** <https://devforum.zoom.us/t/undefined-is-not-an-object-evaluating-module-asm-malloc/88486>\
**Category:** Video SDK\
**Created:** [May 16, 2023, 5:51pm UTC](https://devforum.zoom.us/t/undefined-is-not-an-object-evaluating-module-asm-malloc/88486 "2023-05-16T17:51:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.roper](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.roper/32/38058_2.png) [@tom.roper](https://devforum.zoom.us/u/tom.roper)\
**Post date:** [May 16, 2023, 5:51pm UTC](https://devforum.zoom.us/t/undefined-is-not-an-object-evaluating-module-asm-malloc/88486/1 "2023-05-16T17:51:52Z")

</div>

**Video SDK Type and Version**  
Video SDK for Web, v1.7.0

**Description**  
We are seeing a common error in BugSnag, which is  
`TypeError: undefined is not an object (evaluating 'Module["asm"]["malloc"]')`

Reading through this forum it seems that other encountered something similar had fixed it with their headers to allow SharedArrarBuffer. We already have had ours set for a while now as

```auto
headers: {
        "Cross-Origin-Embedder-Policy": "require-corp",
        "Cross-Origin-Opener-Policy": "same-origin",
      },

```

So I’m looking for a little more help on what could be triggering this and how to fix/update the code.  
From our logs it looks like its mostly Safari on macOS, however there are a few instances of Chrome and Safari on iOS too

**Error?**  
_The full error message or issue you are running into, where applicable._  
`TypeError: undefined is not an object (evaluating 'Module["asm"]["malloc"]')`

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [May 18, 2023, 4:45pm UTC](https://devforum.zoom.us/t/undefined-is-not-an-object-evaluating-module-asm-malloc/88486/3 "2023-05-18T16:45:49Z")

</div>

Hi @tom.roper ,

I see you’re on an older version of the Video SDK for web. If you update to the latest version, 1.7.7, do you still see the issue?

Thanks,  
Rehema
