# Creating Meeting Poll via API issue

**URL:** <https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199>\
**Category:** API and Webhooks\
**Created:** [February 22, 2020, 12:51am UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199 "2020-02-22T00:51:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Lorenz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaron_lorenz/32/4128_2.png) [@Aaron\_Lorenz](https://devforum.zoom.us/u/Aaron_Lorenz)\
**Post date:** [February 22, 2020, 12:51am UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/1 "2020-02-22T00:51:39Z")

</div>

A Meeting Poll is created according to API documentation  
{ :title=\>“test poll”, :status=\>“notstart”, :questions=\>[{:name=\>“test question 1”, :type=\>“single”, :answers=\>[“yes”, “no”, “maybe”]}], :zoom\_meeting\_id=\>0123456789}

no error is generated when created through API, and the poll can be retrieved/edited via an API call with no error as well  
However, once the poll is created the user ‘meeting details’ screen on the Zoom Website will no longer open and gives “Unable to display this page Zoom is temporarily unable to display this page.” Also, polling icon disappears from the meeting user interface, so the poll cannot be accessed

Delete the poll via the API, and the ‘meeting details’ screen is accessible, and the polling icon returns to the user interface.  
If the poll is created via the Zoom meeting details screen…there is no issue…however if that poll is edited via the API…same issue as above then occurs…perhaps the API documentation is missing a required property? I do notice a ‘anonymous’ check box when Poll is created via meeting detail page, however the field/property does not present itself via the API…

Any help would be appreciated

thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 24, 2020, 4:52pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/2 "2020-02-24T16:52:04Z")

</div>

Hey @Aaron_Lorenz,

This is strange. Can you please share a screenshot of the “Unable to display this page Zoom is temporarily unable to display this page.” page?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Aaron\_Lorenz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaron_lorenz/32/4128_2.png) [@Aaron\_Lorenz](https://devforum.zoom.us/u/Aaron_Lorenz)\
**Post date:** [February 24, 2020, 7:43pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/3 "2020-02-24T19:43:00Z")

</div>

![Screen Shot 2020-02-24 at 10.37.18 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9b0f2dd1427cfe820e7beeebcf34b09ed2892155.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 24, 2020, 8:06pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/4 "2020-02-24T20:06:58Z")

</div>

Thanks @Aaron_Lorenz,

Can you also provide the meeting number where this was happening so I can look at the logs and reproduce the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Aaron\_Lorenz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaron_lorenz/32/4128_2.png) [@Aaron\_Lorenz](https://devforum.zoom.us/u/Aaron_Lorenz)\
**Post date:** [February 24, 2020, 9:14pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/5 "2020-02-24T21:14:18Z")

</div>

meeting id = 117-675-751

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [February 24, 2020, 9:46pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/6 "2020-02-24T21:46:38Z")

</div>

Thanks @Aaron_Lorenz,

What exactly are you passing in as the request body?

The status, and zoom\_meeting\_id fields are not listed on our [docs](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingpollcreate).

Can you try this JSON request body:

```json
{
  "title": "test poll",
  "questions": [
    {
      "name": "test question 1",
      "type": "single",
      "answers": [
        "Yes",
        "No",
        "Maybe"
      ]
    }
  ]
}

```

Let me know if that works.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![trafo](https://avatars.discourse-cdn.com/v4/letter/t/85e7bf/32.png) [@trafo](https://devforum.zoom.us/u/trafo)\
**Post date:** [May 29, 2020, 3:49pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/8 "2020-05-29T15:49:31Z")

</div>

Hi,

we came across the same issue. As it turned out, we were sending empty answers in our create request and that caused the problem. For example:

```
"answers": [
    "Yes",
    "",
    "No"
  ]

```

When you’d get the poll via API everything looked correct and no empty answers were there. Once we removed them from create request everything was working as expected.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [June 3, 2020, 4:00pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/9 "2020-06-03T16:00:40Z")

</div>

@trafo thanks for sharing your solution!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 6, 2021, 7:32pm UTC](https://devforum.zoom.us/t/creating-meeting-poll-via-api-issue/8199/10 "2021-05-06T19:32:50Z")

</div>


