# Discobot tutorial errors

**URL:** https://meta.discourse.org/t/discobot-tutorial-errors/70058
**Category:** Support
**Created:** [September 14, 2017, 4:07pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058 "2017-09-14T16:07:07Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 14, 2017, 4:07pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/1 "2017-09-14T16:07:07Z")

</div>

I’ve been going through the discobot tutorial, and after a certain point in the walkthough, clicking the “Reply” button results in a javascript error being thrown.

 ![javascript alert error screenshot](https://global.discourse-cdn.com/meta/original/3X/3/4/34f601bf7649bb1190b53ecda155ed9c8716bbfc.png)

It does not stop you from closing the error window and proceeding through to the next step. But it does fire again when replying to the next tutorial step.

Has anyone else noticed this? the toString error almost feels like it is because a message string is missing.

---

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 14, 2017, 4:19pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/2 "2017-09-14T16:19:28Z")

</div>

Also, the certificate seems to have a broken image Icon in it, is that intentional?

 ![broken image in certificate screenshot](https://global.discourse-cdn.com/meta/original/3X/e/d/ed49ef18090cf96f4605fe901659723557909e02.jpg)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 15, 2017, 12:20am UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/3 "2017-09-15T00:20:54Z")

</div>

Can you repro this @jomaxro?

---

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 19, 2017, 1:13pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/4 "2017-09-19T13:13:52Z")

</div>

@codinghorror @jomaxro I updated the markdown to get the screenshots to show. I’ll test with the default theme and update.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 19, 2017, 10:39pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/5 "2017-09-19T22:39:27Z")

</div>

Still on my list to test - haven’t gotten to it yet, sorry!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 26, 2017, 5:01pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/6 "2017-09-26T17:01:55Z")

</div>

OK, just tested this out on [Try](https://try.discourse.org). I did not receive an error when asked to mention discobot, nor were there any broken images on the certificate. Are you still seeing issues @joey.blake?

---

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 28, 2017, 5:04pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/7 "2017-09-28T17:04:44Z")

</div>

@jomaxro I am. Perhaps this is related to the theme we’re using, though it looks like the \_getSelected function is firing before the element exists to select.

[![CloudApp](https://global.discourse-cdn.com/meta/original/4X/0/0/a/00a385776558923195bd25bd207b18a5fdae9219.png "Image 2017-09-28 at 1.00.32 PM") ](https://cl.ly/rRuJmYvm)

I’m putting this here in case it rings any bells, I’m going to work on debugging the issue some more.

Regarding the certificate, can you post an image of what the certificate is supposed to look like?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 28, 2017, 5:09pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/8 "2017-09-28T17:09:51Z")

</div>

The certificate looks like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/7/37123d8a0f89ce40ce36fbd5bfb22c33a684031d.jpg)

[https://meta.discourse.org/discobot/certificate.svg?date=Aug+23+2017&user\_id=17621](https://meta.discourse.org/discobot/certificate.svg?date=Aug+23+2017&user_id=17621)

---

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 28, 2017, 5:11pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/9 "2017-09-28T17:11:59Z")

</div>

ok! I know what the broken image issue is. We don’t have a small logo to show where the Discourse logo shows.

1 down, 1 to go.

---

<div class="post-metadata">

### Author: ![joey.blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joey.blake/32/120478_2.png) [@joey.blake](https://meta.discourse.org/u/joey.blake)
#### Post date: [September 28, 2017, 5:51pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/10 "2017-09-28T17:51:52Z")

</div>

Found it. Some of our custom mixpanel tracking code was throwing an error. This is all good now.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [September 28, 2017, 10:00pm UTC](https://meta.discourse.org/t/discobot-tutorial-errors/70058/11 "2017-09-28T22:00:01Z")

</div>

This topic was automatically closed after 4 hours. New replies are no longer allowed.
