# TypeError: appssdk\_1.default.showNotification is not a function

**URL:** <https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365>\
**Category:** Zoom Apps\
**Created:** [June 29, 2022, 8:50am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365 "2022-06-29T08:50:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![15hannils](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15hannils/32/38701_2.png) [@15hannils](https://devforum.zoom.us/u/15hannils)\
**Post date:** [June 29, 2022, 8:50am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/1 "2022-06-29T08:50:07Z")

</div>

I can’t seem to perform any calls using “@zoom1234/appssdk” that I installed using NPM.  
Every function I try to do results in what’s being said in the title.  
I’m using TypeScript if that could change something but I’m not even allowed to do the .config call. Another print that I’m also getting is: “Method default is not available in this version of Zoom Apps SDK and might not work correctly. Please update your version of Zoom Apps SDK”. The version that I have installed is 0.16.0 which from what I could see was the latest version.

---

<div class="post-metadata">

**Author:** ![ash.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash.provost/32/36610_2.png) [@ash.provost](https://devforum.zoom.us/u/ash.provost)\
**Post date:** [June 29, 2022, 9:08pm UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/2 "2022-06-29T21:08:43Z")

</div>

How are you importing the sdk from the package? Does it look like this?

`import zoomSdk from "@zoom/appssdk";`

If you are using commonJS syntax it would look like this:

`const zoomSdk = require(‘@zoom/appssdk’).default`

But we anticipate problems with the commonJS approach as we have a bug to fix (which may be what you caught here).

---

<div class="post-metadata">

**Author:** ![15hannils](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15hannils/32/38701_2.png) [@15hannils](https://devforum.zoom.us/u/15hannils)\
**Post date:** [June 30, 2022, 7:16am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/3 "2022-06-30T07:16:45Z")

</div>

I’m importing it the following way

```auto
import zoomSdk from "@zoom/appssdk";

```

installed it the following way

```auto
npm install @zoom/appssdk

```

Can’t really see what the issue seems to be…

---

<div class="post-metadata">

**Author:** ![ash.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash.provost/32/36610_2.png) [@ash.provost](https://devforum.zoom.us/u/ash.provost)\
**Post date:** [June 30, 2022, 3:20pm UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/4 "2022-06-30T15:20:14Z")

</div>

@15hannils what is the version of client you are working with? Can you show your code of how you instantiate the sdk?

Also, what are your build tools? Are you using Babel? If so, what is your configuration?

---

<div class="post-metadata">

**Author:** ![15hannils](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15hannils/32/38701_2.png) [@15hannils](https://devforum.zoom.us/u/15hannils)\
**Post date:** [July 4, 2022, 7:43am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/5 "2022-07-04T07:43:47Z")

</div>

The code that I use

```auto
import zoomSdk from "@zoom/appssdk

const configResponse = await zoomSdk.config({
  capabilities: [
    "startCollaborate",
    "endCollaborate"
  ]
});
console.log(configResponse)

```

What I’m getting in console:

```auto
Method default is not available in this version of Zoom Apps SDK and might not work correctly. Please, update your version of Zoom Apps SDK
{"level":"info","message":"Handled request.","method":"GET","service":"zoom","statusCode":500,"time":62.1151,"timestamp":"2022-07-04T07:39:40.591+00:00","url":"/api/v1/event"}
TypeError: appssdk_1.default.config is not a function
    at event (/workspace/zoom/server/src/routes/event.ts:16:40)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

```

And the version I’m using is 0.16.0

---

<div class="post-metadata">

**Author:** ![15hannils](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15hannils/32/38701_2.png) [@15hannils](https://devforum.zoom.us/u/15hannils)\
**Post date:** [July 7, 2022, 10:55am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/6 "2022-07-07T10:55:45Z")

</div>

I was trying to use the zoomSdk in the backend which resulted in the errors. Everything seemed to have worked normally when the SDK was used in the frontend.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [July 9, 2022, 12:06am UTC](https://devforum.zoom.us/t/typeerror-appssdk-1-default-shownotification-is-not-a-function/71365/7 "2022-07-09T00:06:53Z")

</div>

@15hannils I’m glad that you were able to catch the issue. I’ll go ahead and close this thread but feel free to reach out if you run into any further issues.
