# Webinar registration via API date issue

**URL:** <https://devforum.zoom.us/t/webinar-registration-via-api-date-issue/52523>\
**Category:** API and Webhooks\
**Tags:** webinar\
**Created:** [June 15, 2021, 9:21pm UTC](https://devforum.zoom.us/t/webinar-registration-via-api-date-issue/52523 "2021-06-15T21:21:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lcdservices](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lcdservices/32/20680_2.png) [@lcdservices](https://devforum.zoom.us/u/lcdservices)\
**Post date:** [June 15, 2021, 9:21pm UTC](https://devforum.zoom.us/t/webinar-registration-via-api-date-issue/52523/1 "2021-06-15T21:21:37Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
We use the Zoom API to register people for webinars as they register through our web-based event registration system. We recently had an issue where the Zoom webinar registration via API was rejected with the message, “Cannot register for a webinar that is in the past” – even though we were registering someone 20min before the start of the webinar. We check the settings in Zoom and the timezone was set correctly.

**Error**  
RegistrationForbidden: Cannot register for a webinar that is in the past.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT.

**Which Endpoint/s?**  
POST: /webinars/{zoomId}/registrants

**How To Reproduce (If applicable)**

1. Register someone for a webinar via API ~15 min prior to the start
2. See error

**Additional context**  
None of the parameters passed to the API include a date field, so this isn’t due to a server timezone discrepancy at our end. That shouldn’t matter anyway, since the API should be registering people based on the timezone configured in the webinar.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 17, 2021, 12:58am UTC](https://devforum.zoom.us/t/webinar-registration-via-api-date-issue/52523/2 "2021-06-17T00:58:11Z")

</div>

Hey @lcdservices,

Thank you for reaching out to the Zoom Developer Forum. Please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread.

In that email, please include the full URL and request body that you used when you saw this error.

I’ll use that to look into this further.

Thanks,  
Max

---

<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:** [July 17, 2021, 10:58am UTC](https://devforum.zoom.us/t/webinar-registration-via-api-date-issue/52523/3 "2021-07-17T10:58:15Z")

</div>

Closed on July 17, 2021, 10:58am UTC

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