# Error: Cannot find package '@namespaceID/functions

**URL:** <https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566>\
**Category:** Help Hub\
**Tags:** collections, package-library\
**Created:** [November 6, 2025, 11:56am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566 "2025-11-06T11:56:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![telecoms-meteorolo12](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@telecoms-meteorolo12](https://community.postman.com/u/telecoms-meteorolo12)\
**Post date:** [November 6, 2025, 11:56am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/1 "2025-11-06T11:56:54Z")

</div>

Getting Error:Cannot find package '@ssp-team-1861/functions even though the script line has been auto written in the script. At start, it worked fine. After some hours , getting this error for the same script

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 7, 2025, 10:54am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/2 "2025-11-07T10:54:58Z")

</div>

Hey @telecoms-meteorolo12 👋

Welcome to the Postman Community! :postman:

Are you still having issues with this?

---

<div class="post-metadata">

**Author:** ![telecoms-meteorolo12](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@telecoms-meteorolo12](https://community.postman.com/u/telecoms-meteorolo12)\
**Post date:** [November 7, 2025, 12:38pm UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/3 "2025-11-07T12:38:24Z")

</div>

After restarting the postman, I can able to use the package by using it as  
const functions = pm.require(‘@ssp-team-1861/functions’);

Before the mentioned, I used the package syntax as let packageId = pm.collectionVaraibles.get(“packageId“);pm.require(packageId);

Now it’s not working like that

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 7, 2025, 3:28pm UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/4 "2025-11-07T15:28:01Z")

</div>

Glad to see you have it working again! 🏆

> [@telecoms-meteorolo12](#):
>
> I used the package syntax as `let packageId = pm.collectionVaraibles.get(“packageId“);pm.require(packageId);`

Was the Collection Variable value “_@ssp-team-1861/functions_”?

This would be the method that I would have used to access the different functions of the script:

```auto
const variableName = pm.require('@team-domain/package-name');

variableName.functionName()

```

> **[Add internal scripts to the Package Library in Postman | Postman Docs](https://learning.postman.com/docs/tests-and-scripts/write-scripts/packages/package-library/#import-a-package)**
>
> With the Package Library, you can maintain scripts and tests in a central location and share them with your team.

---

<div class="post-metadata">

**Author:** ![telecoms-meteorolo12](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@telecoms-meteorolo12](https://community.postman.com/u/telecoms-meteorolo12)\
**Post date:** [November 8, 2025, 7:54am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/5 "2025-11-08T07:54:21Z")

</div>

The collection may be used in some other accounts/workspace also. So, for that I created a variable named packageId with value “@team-domain/package-name“. And in pre/post script, I will declare it as  
const variableName = pm.require(pm.collectionvariables.get(“packageId“));

In this case, it worked for some requests initially. But now getting the error “[Error: Cannot find package ‘@namespaceID/functions](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566)“

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 8, 2025, 8:37am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566/6 "2025-11-08T08:37:16Z")

</div>

It will only work in the team that the package library is part of and not across accounts.

Is this working everywhere, when you use this syntax at the top of the script?

```auto
const variableName = pm.require('@team-domain/package-name');

variableName.functionName()

```

If it does, I would recommend using it over trying to create a different variable for this package.
