# Zoom\_meetingsdk error

**URL:** <https://devforum.zoom.us/t/zoom-meetingsdk-error/89151>\
**Category:** Web\
**Created:** [May 28, 2023, 12:01pm UTC](https://devforum.zoom.us/t/zoom-meetingsdk-error/89151 "2023-05-28T12:01:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoomema2020](https://avatars.discourse-cdn.com/v4/letter/z/35a633/32.png) [@zoomema2020](https://devforum.zoom.us/u/zoomema2020)\
**Post date:** [May 28, 2023, 12:01pm UTC](https://devforum.zoom.us/t/zoom-meetingsdk-error/89151/1 "2023-05-28T12:01:16Z")

</div>

API ENDPOINT  
**GitHub - zoom\_meetingsdk-javascript-sample Use the Zoom Meeting SDK in (vanilla) JavaScript**  
_[GitHub - zoom/meetingsdk-javascript-sample: Use the Zoom Meeting SDK in (vanilla) JavaScript](https://github.com/zoom/meetingsdk-sample-javascript)_

DESCRIPTION  
I want to make use of meeting sdk at [[GitHub - zoom\_meetingsdk-javascript-sample Use the Zoom Meeting SDK in (vanilla) JavaScript]] for my  
zoom web meetings but I have not been able to obtain the json

```
return response.json()

```

in the client-view.js. it is giving me the error message ‘SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data’  
which from further investigation I discovered that the response was empty. I have provided the appropriate accurate meeting number as  
available in zoom and used both 1 and 0 for role but the result is the same

Please how do I get it to run effectively. I am still running it inside my local system with localhost  
here is my part of the code which I modified in the client-view

```
var authEndpoint = ''
var sdkKey = 'my client id'
var meetingNumber = 'meeting number on zoom'
var passWord = 'password on zoom'
var role = 0
var userName = 'any user name'
var userEmail = 'mymail@email.com'
var registrantToken = ''
var zakToken = ''
var leaveUrl = 'http://localhost:800'

```

I am using php

Cc @tommy, @michael_p.zoom

---

<div class="post-metadata">

**Author:** ![zoomema2020](https://avatars.discourse-cdn.com/v4/letter/z/35a633/32.png) [@zoomema2020](https://devforum.zoom.us/u/zoomema2020)\
**Post date:** [May 29, 2023, 5:55pm UTC](https://devforum.zoom.us/t/zoom-meetingsdk-error/89151/2 "2023-05-29T17:55:51Z")

</div>

Please can I get some help for the error I am encountering. I am sorry if it looks like I am bothering @gianni.zoom @elisa.zoom. Please Ihave been stock at these for days

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 1, 2024, 9:32am UTC](https://devforum.zoom.us/t/zoom-meetingsdk-error/89151/3 "2024-06-01T09:32:03Z")

</div>

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