# GET /past\_webinars/{webinarId}/qa - Error responding in XML

**URL:** <https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057>\
**Category:** API and Webhooks\
**Created:** [October 22, 2020, 7:02pm UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057 "2020-10-22T19:02:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)\
**Post date:** [October 22, 2020, 7:02pm UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057/1 "2020-10-22T19:02:14Z")

</div>

Greetings API developers,

**Description**  
When I try to call the GET /past\_webinars/{webinarId}/qa API with the header Accept application/xml, I receive a very odd response which does not contain the XML of the results.

I have used this header on all my other API calls through Zoom with great success.

**Error**  
\<!doctype html\>  
  
  
Error - Zoom

```
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0">
<meta name="google-site-verification" content="8WU-FkemSTzA1EpoynHUDYe2UxPXiMS53FBXk6_qVy4" />
<meta name="google-site-verification" content="J_tzcwoKXfPkhsWbiS7cM6WEn3pjCr_DhMNmhRtd960" />
<meta name="google-site-verification" content="o7_kGQ-oKZjWTkzWK3NYR9JUf3SvQKIBwjHgqTE_FHU" />
<meta name="google-site-verification" content="QXsuSwndXLLWh52gEd4ig7alEmTyDp0NPo4GCKsUH5k" />
<meta name="google-site-verification" content="Vt60qsrxhpi8GdAMlhQod8oxA2LAtN908SnMDdelCYc" />
<meta name="google-site-verification" content="v3_Ow9RbJsRZ9MLl--QrhABeFcA9oP7OBXhY50O4QuA" />
<meta name="google-site-verification" content="0fZHb1ni-k_iNiYVnomwmnY9ITBunxqU8VC49mHDNxc" />
<meta name="keywords" content="zoom, zoom.us, video conferencing, video conference, online meetings, web meeting, video meeting, cloud meeting, cloud video, group video call, group video chat, screen share, application share, mobility, mobile collaboration, desktop share, video collaboration, group messaging" />
<meta name="robots" content="noindex,nofollow" />
<meta name="description" content="Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference room solution used around the world in board, conference, huddle, and training rooms, as well as executive offices and classrooms. Founded in 2011, Zoom helps businesses and organizations bring their teams together in a frictionless environment to get more done. Zoom is a publicly traded company headquartered in San Jose, CA." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://api.zoom.us/" />
<meta property="og:title" content="Video Conferencing, Web Conferencing, Webinars, Screen Sharing" />
<meta property="og:description" content="Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference room solution used around the world in board, conference, huddle, and training rooms, as well as executive offices and classrooms. Founded in 2011, Zoom helps businesses and organizations bring their teams together in a frictionless environment to get more done. Zoom is a publicly traded company headquartered in San Jose, CA." />
<meta property="og:image" content="https://us02st3.zoom.us/static/94101/image/thumb.png" />
<meta property="og:site_name" content="Zoom Video" />
<meta property="fb:app_id" content="113289095462482" />
<meta property="twitter:account_id" content="522701657" />
<link rel="shortcut icon" href="https://us02st1.zoom.us/zoom.ico" />
<link rel="canonical" href="https://api.zoom.us/error/406" />
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/kgjfgplpablkjnlkjmjdecgdpfankdle" />
<script nonce="fY77T7GNTpuB0nGRcfQOMQ" type="text/javascript">
var resourceAccountIdRoutingURl = "t_x_zm_rid=2";
resourceAccountIdRoutingURl = resourceAccountIdRoutingURl==""?undefined:resourceAccountIdRoutingURl;
</script>
<link type="text/css" rel="stylesheet" href="https://us02st1.zoom.us/static/94101/css/all.min.css" />
<style>
body div.combobox div.dropdownlist{
width: calc(100% + 2px) !important;
}
</style>
<script nonce="fY77T7GNTpuB0nGRcfQOMQ" src="/csrf_js?t_x_zm_rid=2"></script>
<script nonce="fY77T7GNTpuB0nGRcfQOMQ">
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'country': 'us'
});
//ZOOM-163677
window.sctyName = '{\"TW\":\"country.TW-TW\",\"CN\":\"country.CN\"}';
</script>
<link rel="stylesheet" href="https://us02st1.zoom.us/static/94101/js/lib/vue/advanced/notification/notification.min.css">
<link rel="stylesheet" type="text/css" href="https://us02st1.zoom.us/static/94101/css/vue/zoom-components.min.css"/>
<link rel="stylesheet" type="text/css" href="https://us02st3.zoom.us/static/94101/js/lib/vue/advanced/popup-captcha/popup-captcha.min.css"/>
</head>
<body class=" " data-cd=".zoom.us">
<div class="total-main-content">
<div id="skiptocontent">
<a role="complementary" aria-label="skip" href="#the-main-content">Skip to main content</a>
</div>
<div id="header_container" class=" zoom-newhd">
<div id="header_outer" class="container clearfix zoom-newhd">
<div id="header" class="navbar navbar-default navbar-fixed-top">
<div id="black-topbar" class="hidden-xs noanimate" role="navigation" aria-label="Resources">
<div class="container" role="menubar">
<ul class="list-inline pull-right" role="menubar">
<li role="none">
<a
role="menuitem"
href="https://api.zoom.us/livedemo"

onClick="ga('send', 'event', 'requestdemo', 'click-nav-requestademo', 'Header Nav Contact Sales');">
Request a Demo</a>
</li>
<li role="none">
<a
role="menuitem"
href="tel:1.888.799.9666"
class="support-phone"
onClick="ga('send', 'event', 'contact', 'click-homepage-phone-number', 'Click Homepage Phone Number');">
1.888.799.9666
</a>
</li>
<li role="none" class="dropdown" id="resources" aria-haspopup="true">
<a id="btnResouces" href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Resources <span class="caret"></span></a>
<ul id="resourcesDropdown" class="dropdown-menu">
<li role="none"><a role="menuitem" href="https://api.zoom.us/download#client_4meeting" onClick="">Download Zoom Client</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://support.zoom.us/hc/en-us/articles/206618765-Zoom-Video-Tutorials" onClick="">Video Tutorials</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://api.zoom.us/livetraining" onClick="">Live Training</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://api.zoom.us/events" onClick="">Webinars and Events</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://blog.zoom.us/" onClick="">Zoom Blog</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://support.zoom.us/hc/en-us/articles/206175806-Top-Questions" onClick="">FAQ</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="https://api.zoom.us/privacy-and-security" onClick="">Privacy and Security</a></li>
<li class="visible-xs divider" role="presentation"></li>
<li role="none"><a role="menuitem" href="/security" onClick="">Security Resources</a></li>
<li role="none"><a role="menuitem" href="https://zoom.us/virtual-backgrounds" >Zoom Virtual Backgrounds</a></li>
</ul>
</li>
<li><a role="menuitem" href="https://support.zoom.us/hc/en-us" target="_blank" onClick="ga('send', 'event', 'product', 'click-nav-support', 'Header Nav Support');">Support</a></li>
</ul>
</div>
</div>
<div class="container" role="banner">
<div class="navbar-header ">
<button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button" value="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<ul class="list-inline pull-right visible-xs" style="line-height: 50px;">
<li style="padding-right: 15px;"><a href="https://api.zoom.us/join" target="_blank">JOIN</a></li>
<li style="padding-right: 15px;"><a id="mobile-host-btn" href="/start/videomeeting" target="_blank">HOST</a></li>
</ul>
<div class="left">
<a class="imglink" href="https://api.zoom.us/">
<img class="logo" src="https://us02st1.zoom.us/static/94101/image/new/ZoomLogo.png" alt="Zoom Logo"/>
</a>
</div>
</div>
<div>
<div class="navbar-collapse collapse" id="navbar">
<ul class="nav navbar-nav" role="navigation" aria-label="product information">
<li class='visible-xs divider' role='presentation'></li>
<li role="none" class='dropdown mobile-hide' id='solution' aria-haspopup='true'>
<a id='btnSolutions' href='javascript:;' class='dropdown-toggle' data-toggle='dropdown' aria-expanded='false'>SOLUTIONS <span class='caret'></span></a>
<ul id='solutionsDropdown' class='dropdown-menu first-dropdown'>
<li role="none" id="first-col-nav" class='mega-menu-4-of-12 first-col'>
<h4 class='mega-block-title'>PRODUCTS</h4>
<div class='textwidget'>
<ul role="list">
<li role="none">
<a role="menuitem" href='https://api.zoom.us/meetings' onclick="ga('send', 'event', 'product', 'click-nav-solutions-meetings', 'Header Nav Solutions Meetings and Chat');">
<h3>Meetings and Chat</h3>
<p>HD video, audio, collaboration & chat</p>
</a>
</li>
<li role="none">
<a role="menuitem" href='https://api.zoom.us/zoomrooms' onclick="ga('send', 'event', 'product', 'click-nav-solutions-rooms', 'Header Nav Solutions Rooms and Workspaces');">
<h3>Rooms and Workspaces</h3>
<p>Power up your conference rooms with video</p>
</a>
</li>
<li role="none">
<a role="menuitem" href='https://api.zoom.us/phonesystem' onclick="ga('send', 'event', 'product', 'click-nav-solutions-voice', 'Header Nav Solutions Voice');">
<h3>Phone System</h3>
<p>Enterprise cloud phone system</p>
</a>
</li>
<li role="none">
<a role="menuitem" href='https://api.zoom.us/webinar' onclick="ga('send', 'event', 'product', 'click-nav-solutions-webinar', 'Header Nav Solutions Webinars');">
<h3>Video Webinars</h3>
<p>Full-featured, easy-to-use, engaging webinars</p>
</a>
</li>
<li role="none">
<a role="menuitem" href='https://api.zoom.us/redirect_marketplace' onclick="ga('send', 'event', 'product', 'click-nav-solutions-appmarketplace', 'Header Nav Solutions App Marketplace');">
<h3>Marketplace</h3>
<p>Integrations and bots to use with Zoom</p>
</a>
</li>
<li role="none">
<a role="menuitem" href='https://marketplace.zoom.us/docs/guides' onclick="ga('send', 'event', 'product', 'click-nav-solutions-marketplace', 'Header Nav Solutions Developer Platform');">
<h3>Developer Platform</h3>
<p>APIs & SDKs to extend and enhance Zoom</p>
</a>
</li>
</ul>
</div>
</li>

```

**SHORTEN DUE TO POST LENGTH LIMITATIONS**

**Which App Type**  
**JWT**

**Which Endpoint/s?**  
`https://api.zoom.us/v2/past_webinars/{webinarId}/qa`

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Go to [https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/listpastwebinarqa](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/listpastwebinarqa)
2. Set Path Params **webinarId** to `4fU2dICfT6CqMJ8M4RC66A==`
3. Get new oauth\_access\_token and paste into provide spot
4. Select Headers
5. Click Add Header - `Accept` : `application/xml`
6. Click Send
7. See non-XML results

**Screenshots (If applicable)**

 ![Capture02](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/0/1035f52cab6507574a1f30dd51dd86de7609ca2b.png)

**Additional context**  
The same request without asking for the response in XML returns the JSON result correctly.

Thanks,  
Sean

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 23, 2020, 2:31pm UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057/2 "2020-10-23T14:31:46Z")

</div>

Hey @sohling,

Our API only accepts content type JSON. While you may technically not have run into any issues on a different endpoint, you should not expect this to work consistently as we only support JSON.

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![sohling](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohling/32/625_2.png) [@sohling](https://devforum.zoom.us/u/sohling)\
**Post date:** [October 23, 2020, 6:23pm UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057/3 "2020-10-23T18:23:51Z")

</div>

Hello @will.zoom,

Sorry, perhaps I didn’t detail the issue properly.  
The API information given on your Zoom detail pages states  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/1/b165a5b4c8cc42c15a828d5effc7dd0f95546554.png)

> **[Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api)**
>
> Zoom API
> 
> Version: 2.0.0
> 
> Host: api.zoom.us/v2
> 
> Protocols: https
> 
> Accepts: application/json, multipart/form-data
> 
> Responds With: application/json, appli...

and I am trying to set the request to use ‘application/xml’ in the response. I have been able to do this with every other API call in your API solution. Is there a header or parameter I need to include to have the ZOOM API return an ‘application/xml’.

Thanks,  
Sean

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 26, 2020, 6:50pm UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057/4 "2020-10-26T18:50:13Z")

</div>

Hey @sohling,

Thanks for clarifying, and apologies for any misunderstanding!

I’m looking into this for you (ZOOM-210639).

Thanks,  
Will

---

<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:** [November 26, 2020, 4:50am UTC](https://devforum.zoom.us/t/get-past-webinars-webinarid-qa-error-responding-in-xml/34057/5 "2020-11-26T04:50:15Z")

</div>

Closed on November 26, 2020, 4:50am UTC

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