# Signature being generated but client doesn't exist

**URL:** <https://devforum.zoom.us/t/signature-being-generated-but-client-doesnt-exist/92054>\
**Category:** Meetings\
**Tags:** api, video-sdk\
**Created:** [July 19, 2023, 10:10am UTC](https://devforum.zoom.us/t/signature-being-generated-but-client-doesnt-exist/92054 "2023-07-19T10:10:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rutabana12loic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rutabana12loic/32/50334_2.png) [@rutabana12loic](https://devforum.zoom.us/u/rutabana12loic)\
**Post date:** [July 19, 2023, 10:10am UTC](https://devforum.zoom.us/t/signature-being-generated-but-client-doesnt-exist/92054/1 "2023-07-19T10:10:16Z")

</div>

When I try to join a meeting, I get this error  
Error joining meeting {type: ‘JOIN\_MEETING\_FAILED’, reason: ‘This account does not exist or does not belong to you’, errorCode: 200}

I’m not sure what’s causing it. I’m generating a signature from the backend as such

```
  const sdkKey = process.env.VITE_ZOOM_CLIENT_ID;
  const sdkSecret = process.env.VITE_ZOOM_CLIENT_SECRET;
  const oPayload = {
    app_key: sdkKey,
    iat,
    exp,
    tcp: topic,
    pwd: password,
    user_identity: userIdentity,
    session_key: sessionKey,
    role_type: roleType,
  };

  const sHeader = JSON.stringify(oHeader);
  const sPayload = JSON.stringify(oPayload);

  signature = KJUR.jws.JWS.sign("HS256", sHeader, sPayload, sdkSecret);

```

This is how the client joins the meeting

```
const init = async () => {
    client.init('US-EN', 'CDN')
    console.log('client', client)
    try {
      setLoadingText('Joining meeting...')
      console.log('meetingArgs', JSON.stringify(await meetingArgs))
      await client.join(meetingArgs.topic, meetingArgs.signature, meetingArgs.name, meetingArgs.password)
      const stream: MediaStream = await client.getMediaStream() // type MediaStream = typeof Stream
      setMediaStream(stream)
      setStarted(true)
    } catch(err: any) {
      console.log("Error joining meeting", err)
      setLoading(false)
      message.error(err.reason)
    }
  }

```

I do get a signature but the issue persists. The client object’s fields are all undefined for some reason, not sure if that’s normal or even relevant

---

<div class="post-metadata">

**Author:** ![rutabana12loic](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rutabana12loic/32/50334_2.png) [@rutabana12loic](https://devforum.zoom.us/u/rutabana12loic)\
**Post date:** [August 1, 2023, 8:13am UTC](https://devforum.zoom.us/t/signature-being-generated-but-client-doesnt-exist/92054/2 "2023-08-01T08:13:11Z")

</div>

Please someone help. I’ve been stuck on this for a while and this is the last feature I need to deploy my product. I don’t know how else to get help
