# Cannot create calendar meeting using scheduler api

**URL:** <https://community.hubspot.com/t/cannot-create-calendar-meeting-using-scheduler-api/129764>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [April 11, 2025, 12:58pm UTC](https://community.hubspot.com/t/cannot-create-calendar-meeting-using-scheduler-api/129764 "2025-04-11T12:58:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mainul\_haque](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mainul\_haque](https://community.hubspot.com/u/mainul_haque)\
**Post date:** [April 11, 2025, 12:58pm UTC](https://community.hubspot.com/t/cannot-create-calendar-meeting-using-scheduler-api/129764/1 "2025-04-11T12:58:36Z")

</div>

I am getting the following error when I submit an API call using curl:

=======

{  
“name”: “Consult: Established Pt for Dr.example”,  
“slug”: “doc-example”,  
“duration”: “1800000”,  
“meetingLink”: “[https://meetings.hubspot.com/doc-example](https://meetings.hubspot.com/doc-example)”",  
“startTime”: “2025-04-14T11:30:00-04:00”,  
“timezone”: “America/New\_York”,  
“email”: “[manny@xxx.com](mailto:manny@xxx.com)”,  
“firstName”: “Manny”,  
“lastName”: “Jackson”,  
“formFields”: [  
{  
“name”: “phone”,  
“value”: “3472327411”  
},  
{  
“name”: “date\_of\_birth”,  
“value”: “447656400”  
},  
{  
“name”: “all\_appointment\_type”,  
“value”: “33”  
}  
],  
“locale”: “en-us”,  
“type”: “PERSONAL\_LINK”  
}

=======

I am using using this documenation - I am using the following documenation: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/reference/api/library/meetings#post-%2Fscheduler%2Fv3%2Fmeetings%2Fmeeting-links%2Fbook)

I am getting the following error:

{“status”:“error”,“message”:“formFields contains invalid name(s)”,“correlationId”:“67f90eaa-0000-0000-0b8a-fbaff6cd137e”,“context”:{“formFields”:[“[ExternalBookingFormField{name=phone, value=3472327411}, ExternalBookingFormField{name=date\_of\_birth, value=447656400}, ExternalBookingFormField{name=all\_appointment\_type, value=33}]”]},“category”:“VALIDATION\_ERROR”}

If I remove the follwoing, then it works.

{  
“name”: “all\_appointment\_type”,  
“value”: “33”  
}

This is how the form looks like - [Screenshot by Lightshot](https://prnt.sc/mwG1u9OjV5N4)

This is the property “all\_appointment\_type” - [https://prnt.sc/nIghMqFd5qg\_](https://prnt.sc/nIghMqFd5qg_)

> **[Screenshot](https://prnt.sc/aLEfsnlofSvj)**
>
> Captured with Lightshot

---

<div class="post-metadata">

**Author:** ![Niloy\_Islam](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@Niloy\_Islam](https://community.hubspot.com/u/Niloy_Islam)\
**Post date:** [April 11, 2025, 5:37pm UTC](https://community.hubspot.com/t/cannot-create-calendar-meeting-using-scheduler-api/129764/2 "2025-04-11T17:37:39Z")

</div>

Here you mismatch the property name.

In this picture its show:

 ![Niloy_Islam_0-1744392830627.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/e/ebf93edfc50adc07f2ec73dbbbf64e7f62dd39c3.jpeg)

In your property label its shows:

 ![Niloy_Islam_1-1744392949156.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/b254944fabf7c30976f1304cc22f7b908d62b03d.png)

So there must be a property **Appointment type.** If you use the correct internal name then it will be work fine.
