# Errors when adding webinar

**URL:** https://meta.discourse.org/t/errors-when-adding-webinar/297588
**Category:** Support
**Tags:** zoom
**Created:** [April 8, 2020, 1:52pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588 "2020-04-08T13:52:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![oneflydown](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oneflydown/32/155563_2.png) [@oneflydown](https://meta.discourse.org/u/oneflydown)
#### Post date: [April 8, 2020, 1:52pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/1 "2020-04-08T13:52:23Z")

</div>

> [@Discourse Zoom](https://meta.discourse.org/t/discourse-zoom/142711/4):
>
> You need to enter the webinar ID. In your site’s logs in `/logs` , you should be able to see more details if it still can’t add the event in the modal window.

Thanks for the plugin. I followed the same as what you have explained, but getting this error

 ![12](https://global.discourse-cdn.com/meta/original/3X/b/c/bc7ee21535a274034b0ec2c8713f12da143d6806.png)

And the logs return this:  
Message (7 copies reported)

TypeError (no implicit conversion of nil into String)  
/var/www/discourse/plugins/discourse-zoom/lib/client.rb:12:in `parse’

Backtrace

```plaintext
/var/www/discourse/plugins/discourse-zoom/lib/client.rb:12:in `parse'
/var/www/discourse/plugins/discourse-zoom/lib/client.rb:12:in `webinar'
/var/www/discourse/plugins/discourse-zoom/lib/webinars.rb:27:in `find'
/var/www/discourse/plugins/discourse-zoom/app/controllers/webinars_controller.rb:74:in `preview'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/base.rb:196:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.1/lib/active_support/callbacks.rb:135:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.6.0/gems/actionpack-6.0.1/lib/abstract_controller/callbacks.rb:41:in `process_action'

```

Env

HTTP HOSTS: forum.laex.in

Edit: Webinar ID as 656-530-215 also gives the same error.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [April 8, 2020, 2:14pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/2 "2020-04-08T14:14:19Z")

</div>

Looks like the API request to `webinars/WEBINAR_ID` is not returning nil for the `start_time` of the webinar from Zoom. You might want to test your API credentials outside of the plugin, using a tool like Postman, for example.

---

<div class="post-metadata">

### Author: ![oneflydown](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oneflydown/32/155563_2.png) [@oneflydown](https://meta.discourse.org/u/oneflydown)
#### Post date: [April 8, 2020, 3:20pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/3 "2020-04-08T15:20:38Z")

</div>

I did a test of API credentials and its fine. Then I did a quick update of the plugin and I am able to connect to the webinar.

 ![a2](https://global.discourse-cdn.com/meta/original/3X/0/a/0accbf693a7eeb52239087b759f0f6cd4f7f317d.png)

1. I am not sure, if it is for the update or, I tried to create a webinar topic, after the webinar was actually started/in progress.

2. What time does the plugin use to calculate the Event begins in time? I have logged in from two devices at the same time, but the Event begins in show different times.

From laptop: (which has a time advance of 7 mins)

 ![a3](https://global.discourse-cdn.com/meta/original/3X/c/c/cc92425431c82d54fc5bb188df2dfb3b38565de8.png)

and from mobile

 ![WhatsApp Image 2020-04-08 at 20.49.16](https://global.discourse-cdn.com/meta/original/3X/7/2/72c537ed21639552762d8c75c1d9c041084e0bb4.jpeg)

Thanks

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [April 8, 2020, 3:47pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/4 "2020-04-08T15:47:29Z")

</div>

It uses the time returned by javascript’s `new Date()`. The difference you see in your screenshots matches the 7-min advance on the laptop.

---

<div class="post-metadata">

### Author: ![oneflydown](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oneflydown/32/155563_2.png) [@oneflydown](https://meta.discourse.org/u/oneflydown)
#### Post date: [April 8, 2020, 4:26pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/5 "2020-04-08T16:26:02Z")

</div>

> [@pmusaraj](#):
>
> It uses the time returned by javascript’s `new Date()` .

It works great. Btw, is there any possibility that I can show the chat in webinar as a discussion to the topic?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 3, 2024, 1:35pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/7 "2024-05-03T13:35:39Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 3, 2024, 2:39pm UTC](https://meta.discourse.org/t/errors-when-adding-webinar/297588/8 "2024-05-03T14:39:25Z")

</div>


