# Jwt.sign Right-hand side of 'instanceof' is not an object

**URL:** <https://community.auth0.com/t/jwt-sign-right-hand-side-of-instanceof-is-not-an-object/191843>\
**Category:** JWT.io\
**Created:** [September 12, 2025, 7:32pm UTC](https://community.auth0.com/t/jwt-sign-right-hand-side-of-instanceof-is-not-an-object/191843 "2025-09-12T19:32:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fixo.now](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fixo.now/32/63570_2.png) [@fixo.now](https://community.auth0.com/u/fixo.now)\
**Post date:** [September 12, 2025, 7:32pm UTC](https://community.auth0.com/t/jwt-sign-right-hand-side-of-instanceof-is-not-an-object/191843/1 "2025-09-12T19:32:51Z")

</div>

when i use jwt.sign i get this error “Right-hand side of ‘instanceof’ is not an object” how to fix this

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [September 30, 2025, 1:20pm UTC](https://community.auth0.com/t/jwt-sign-right-hand-side-of-instanceof-is-not-an-object/191843/2 "2025-09-30T13:20:38Z")

</div>

Hi There!

Thank you for posting your question. I found this article on Stack Overflow witha similar question → [https://stackoverflow.com/questions/74907805/right-hand-side-of-instanceof-is-not-an-object-jsonwebtoken](https://stackoverflow.com/questions/74907805/right-hand-side-of-instanceof-is-not-an-object-jsonwebtoken)

Let me know if this fixed your issue.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 14, 2025, 1:21pm UTC](https://community.auth0.com/t/jwt-sign-right-hand-side-of-instanceof-is-not-an-object/191843/3 "2025-10-14T13:21:13Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
