# Registrant Update Status return Bad Request

**URL:** <https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602>\
**Category:** API and Webhooks\
**Created:** [November 20, 2020, 10:54pm UTC](https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602 "2020-11-20T22:54:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sameera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sameera/32/18424_2.png) [@sameera](https://devforum.zoom.us/u/sameera)\
**Post date:** [November 20, 2020, 10:54pm UTC](https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602/1 "2020-11-20T22:54:29Z")

</div>

Package : Zoom Pro  
Meetings API

I m trying to approve user thorugh the web api

> **[Update Meeting Registrant Status - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantstatus)**
>
> Update a meeting registrant's status by either approving, cancelling or denying a registrant from joining the meeting.
> Scopes: meeting:write:admin meeti...

then i got this response. please help me

object(Illuminate\Http\Client\Response)[1308]  
protected ‘response’ =\>  
object(GuzzleHttp\Psr7\Response)[1362]  
private ‘reasonPhrase’ =\> string ‘Bad Request’ (length=11)  
private ‘statusCode’ =\> int 400  
private ‘headers’ =\>  
array (size=13)  
‘Date’ =\>  
array (size=1)  
…  
‘Content-Type’ =\>  
array (size=1)  
…  
‘Content-Length’ =\>  
array (size=1)  
…  
‘Connection’ =\>  
array (size=1)  
…  
‘Server’ =\>  
array (size=1)  
…  
‘x-zm-trackingid’ =\>  
array (size=1)  
…  
‘X-Content-Type-Options’ =\>  
array (size=1)  
…  
‘Cache-Control’ =\>  
array (size=1)  
…  
‘Pragma’ =\>  
array (size=1)  
…  
‘Expires’ =\>  
array (size=1)  
…  
‘Set-Cookie’ =\>  
array (size=5)  
…  
‘Vary’ =\>  
array (size=3)  
…  
‘X-RateLimit-Category’ =\>  
array (size=1)  
…  
private ‘headerNames’ =\>  
array (size=13)  
‘date’ =\> string ‘Date’ (length=4)  
‘content-type’ =\> string ‘Content-Type’ (length=12)  
‘content-length’ =\> string ‘Content-Length’ (length=14)  
‘connection’ =\> string ‘Connection’ (length=10)  
‘server’ =\> string ‘Server’ (length=6)  
‘x-zm-trackingid’ =\> string ‘x-zm-trackingid’ (length=15)  
‘x-content-type-options’ =\> string ‘X-Content-Type-Options’ (length=22)  
‘cache-control’ =\> string ‘Cache-Control’ (length=13)  
‘pragma’ =\> string ‘Pragma’ (length=6)  
‘expires’ =\> string ‘Expires’ (length=7)  
‘set-cookie’ =\> string ‘Set-Cookie’ (length=10)  
‘vary’ =\> string ‘Vary’ (length=4)  
‘x-ratelimit-category’ =\> string ‘X-RateLimit-Category’ (length=20)  
private ‘protocol’ =\> string ‘1.1’ (length=3)  
private ‘stream’ =\>  
object(GuzzleHttp\Psr7\Stream)[1361]  
private ‘stream’ =\> resource(15, stream)  
private ‘size’ =\> null  
private ‘seekable’ =\> boolean true  
private ‘readable’ =\> boolean true  
private ‘writable’ =\> boolean true  
private ‘uri’ =\> string ‘php://temp’ (length=10)  
private ‘customMetadata’ =\>  
array (size=0)  
…  
protected ‘decoded’ =\> null  
public ‘cookies’ =\>  
object(GuzzleHttp\Cookie\CookieJar)[1340]  
private ‘cookies’ =\>  
array (size=5)  
0 =\>  
object(GuzzleHttp\Cookie\SetCookie)[1364]  
…  
1 =\>  
object(GuzzleHttp\Cookie\SetCookie)[1358]  
…  
2 =\>  
object(GuzzleHttp\Cookie\SetCookie)[1369]  
…  
3 =\>  
object(GuzzleHttp\Cookie\SetCookie)[1368]  
…  
4 =\>  
object(GuzzleHttp\Cookie\SetCookie)[1370]  
…  
private ‘strictMode’ =\> boolean false  
public ‘transferStats’ =\>  
object(GuzzleHttp\TransferStats)[1363]  
private ‘request’ =\>  
object(GuzzleHttp\Psr7\Request)[1357]  
private ‘method’ =\> string ‘PUT’ (length=3)  
private ‘requestTarget’ =\> null  
private ‘uri’ =\>  
object(GuzzleHttp\Psr7\Uri)[1347]  
…  
private ‘headers’ =\>  
array (size=5)  
…  
private ‘headerNames’ =\>  
array (size=5)  
…  
private ‘protocol’ =\> string ‘1.1’ (length=3)  
private ‘stream’ =\>  
object(GuzzleHttp\Psr7\Stream)[1348]  
…  
private ‘response’ =\>  
object(GuzzleHttp\Psr7\Response)[1362]  
private ‘reasonPhrase’ =\> string ‘Bad Request’ (length=11)  
private ‘statusCode’ =\> int 400  
private ‘headers’ =\>  
array (size=13)  
…  
private ‘headerNames’ =\>  
array (size=13)  
…  
private ‘protocol’ =\> string ‘1.1’ (length=3)  
private ‘stream’ =\>  
object(GuzzleHttp\Psr7\Stream)[1361]  
…  
private ‘transferTime’ =\> float 0.901264  
private ‘handlerStats’ =\>  
array (size=38)  
‘url’ =\> string ‘[https://api.zoom.us/v2//meetings/96564693076/registrants/status](https://api.zoom.us/v2//meetings/96564693076/registrants/status)’ (length=63)  
‘content\_type’ =\> string ‘application/xml;charset=UTF-8’ (length=29)  
‘http\_code’ =\> int 400  
‘header\_size’ =\> int 994  
‘request\_size’ =\> int 401  
‘filetime’ =\> int -1  
‘ssl\_verify\_result’ =\> int 0  
‘redirect\_count’ =\> int 0  
‘total\_time’ =\> float 0.901264  
‘namelookup\_time’ =\> float 0.010937  
‘connect\_time’ =\> float 0.224904  
‘pretransfer\_time’ =\> float 0.67133  
‘size\_upload’ =\> float 72  
‘size\_download’ =\> float 148  
‘speed\_download’ =\> float 164  
‘speed\_upload’ =\> float 79  
‘download\_content\_length’ =\> float 148  
‘upload\_content\_length’ =\> float 72  
‘starttransfer\_time’ =\> float 0.900894  
‘redirect\_time’ =\> float 0  
‘redirect\_url’ =\> string ‘’ (length=0)  
‘primary\_ip’ =\> string ‘52.202.62.238’ (length=13)  
‘certinfo’ =\>  
array (size=0)  
…  
‘primary\_port’ =\> int 443  
‘local\_ip’ =\> string ‘192.168.1.6’ (length=11)  
‘local\_port’ =\> int 60347  
‘http\_version’ =\> int 2  
‘protocol’ =\> int 2  
‘ssl\_verifyresult’ =\> int 0  
‘scheme’ =\> string ‘HTTPS’ (length=5)  
‘appconnect\_time\_us’ =\> int 671187  
‘connect\_time\_us’ =\> int 224904  
‘namelookup\_time\_us’ =\> int 10937  
‘pretransfer\_time\_us’ =\> int 671330  
‘redirect\_time\_us’ =\> int 0  
‘starttransfer\_time\_us’ =\> int 900894  
‘total\_time\_us’ =\> int 901264  
‘appconnect\_time’ =\> float 0.671187  
private ‘handlerErrorData’ =\> int 0

---

<div class="post-metadata">

**Author:** ![sameera](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sameera/32/18424_2.png) [@sameera](https://devforum.zoom.us/u/sameera)\
**Post date:** [November 20, 2020, 10:59pm UTC](https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602/2 "2020-11-20T22:59:00Z")

</div>

I think, i can see similar issue on this thread. but i m using JWT method

> [@Update registrant status API still not working](https://devforum.zoom.us/t/update-registrant-status-api-still-not-working/36229):
>
> Description ‘Update meeting registrant status’ API returns 204 response code, but does not update registrant status Error Calls to ‘Update meeting registrant status’ API to approve a meeting registrant with a valid registrant id and email address are being responded to affirmatively, but leaving the registrant in a pending status. Which App Type (OAuth / Chatbot / JWT / Webhook)? OAuth Which Endpoint/s? /meetings/{meetingId}/registrants/status How To Reproduce (If applicable) Steps to r…

---

<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:** [November 23, 2020, 4:42pm UTC](https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602/3 "2020-11-23T16:42:22Z")

</div>

Hi @sameera,

Can you please share your request body in JSON format so that I can help debug? It should look something like this, depending on which registration status you want the user to have:

HTTP Method: PUT  
Request URL: `https://api.zoom.us/v2/meetings/{meetingId}/registrants/status`  
Request Body:

```auto
{
  "action": "approve",
  "registrants": [
    {
      "id": "z3ASr6AaR8uAysPo0a2zNw",
      "email": "someone@example.com"
    }
  ]
}

```

Let me know if this helps,  
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:** [December 24, 2020, 2:42am UTC](https://devforum.zoom.us/t/registrant-update-status-return-bad-request/36602/4 "2020-12-24T02:42:29Z")

</div>

Closed on December 24, 2020, 2:42am UTC

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