# Chatbot Templates still contains subHeader -\> API call fails

**URL:** <https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641>\
**Category:** API and Webhooks\
**Created:** [December 3, 2018, 12:09pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641 "2018-12-03T12:09:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [December 3, 2018, 12:09pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/1 "2018-12-03T12:09:14Z")

</div>

In these documents, the subHead attribute is still described:

> **[Chatbot Templates - Other API Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/other-references/chatbot-templates)**
>
> Here you will find the supported message templates that can be understood by the Zoom client.
> 
> Simple Message Template
> //s3.amazonaws.com/user-content.s...

> **[Sending Bot Messages - Building a ChatBot - Guides - Documentation](https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/sending-bot-messages)**
>
> Sending Bot Messages
> 
> To send a bot message, you will need to Authenticate as an app, then make your Send Chatbot Message API call.
> 
> To make a custom ch...

(see curl example)

If you post with a subtitle, you receive the weird answer that your message is not a valid json:

```
{"message":"Request content should be a valid JSON object/string","code":7001}

```

Without the subHead, the post works as expected. Please review the docs.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [December 3, 2018, 6:53pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/2 "2018-12-03T18:53:54Z")

</div>

Hi @Bernd_Gewehr,

Thanks for pointing that out. We have corrected the JSON within the content to work in our docs.

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [December 5, 2018, 1:36pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/3 "2018-12-05T13:36:03Z")

</div>

I suggest to delete this page completely:

> **[Chatbot Templates - Other API Reference - API Reference](https://marketplace.zoom.us/docs/api-reference/other-references/chatbot-templates)**
>
> Here you will find the supported message templates that can be understood by the Zoom client.
> 
> Simple Message Template
> //s3.amazonaws.com/user-content.s...

and link to the chat bot cookbook here instead:

> **[Generating Rich-Text Bot Message Cards - Building a ChatBot - Guides -...](https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/Generating-Rich-TextBot-Message-Cards)**
>
> Generating Rich-Text Bot Message Cards
> 
> A card refers to a single message that is sent from the bot to Zoom and rendered in the IM client for the user. ...

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [December 5, 2018, 6:39pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/4 "2018-12-05T18:39:13Z")

</div>

Hi @Bernd_Gewehr,

Thanks for your input, it makes sensed to consolidate the chatbot template pages. We’ll update it accordingly.

Thanks

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [December 6, 2018, 8:04am UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/5 "2018-12-06T08:04:15Z")

</div>

Good choice to move that information to the chatbot cookbook.

Sorry to insist on it, but this page needs some corrections:

> **[Simple Message Templates - Generating Rich-Text Bot Message Cards - Building a...](https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/Generating-Rich-TextBot-Message-Cards/chatbot-templates)**
>
> Here you will find the supported message templates that can be understood by the Zoom client.
> 
> Simple Message Template
> //s3.amazonaws.com/user-content.s...

- remove subhead from basic template
- explain that the lower examples only ADD to the body payload
- correct the drop selection image
- fill the drop selections schema
- correct the editable event to sendHttpMsg

Sorry but the quality of this page is horrible.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [December 6, 2018, 5:55pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/6 "2018-12-06T17:55:36Z")

</div>

Thanks @Bernd_Gewehr, will update the details on this page soon.

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [January 16, 2019, 9:18pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/7 "2019-01-16T21:18:27Z")

</div>

When is soon? 😀

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [January 31, 2019, 11:58am UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/8 "2019-01-31T11:58:19Z")

</div>

Still that page is available with all its errors…

> **[Simple Message Templates - Generating Rich-Text Bot Message Cards - Building a...](https://marketplace.zoom.us/docs/guides/guides/building-a-chatbot/Generating-Rich-TextBot-Message-Cards/chatbot-templates)**
>
> Here you will find the supported message templates that can be understood by the Zoom client.
> 
> Simple Message Template
> 
> //s3.amazonaws.com/user-content....

Please care!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 25, 2019, 3:52pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/9 "2019-02-25T15:52:30Z")

</div>

Hi @Bernd_Gewehr,

Thank you for your patience, we’ve updated the templates to remove the errors. Please let us know if they are working for you.

Thanks

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [February 25, 2019, 4:26pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/10 "2019-02-25T16:26:08Z")

</div>

Excuse me if I‘m wrong @michael_p.zoom but as long as there is a subheader on that page - it’s not corrected. Didn’t recheck the other issues.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 26, 2019, 11:27pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/11 "2019-02-26T23:27:00Z")

</div>

Hi @Bernd_Gewehr,

The sub headers have been removed along with the dropdown templates due to it not being supported right now.

Thanks

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [February 27, 2019, 4:03pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/12 "2019-02-27T16:03:07Z")

</div>

These subheaders seem to be very sticky:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/3884448d955ad0bbf276e61807a7e34c14a0b19f.jpeg)

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [February 27, 2019, 5:04pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/13 "2019-02-27T17:04:04Z")

</div>

@Bernd_Gewehr Might be a caching issue, we republished the docs just in case if its something on our end. Try refreshing again.

Thanks

---

<div class="post-metadata">

**Author:** ![Bernd\_Gewehr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bernd_gewehr/32/667_2.png) [@Bernd\_Gewehr](https://devforum.zoom.us/u/Bernd_Gewehr)\
**Post date:** [February 27, 2019, 5:43pm UTC](https://devforum.zoom.us/t/chatbot-templates-still-contains-subheader-api-call-fails/2641/14 "2019-02-27T17:43:09Z")

</div>

Solved. Thank you!!!
