# API request

**URL:** <https://community.hubspot.com/t/api-request/52374>\
**Category:** APIs & Integrations\
**Created:** [March 1, 2022, 5:20pm UTC](https://community.hubspot.com/t/api-request/52374 "2022-03-01T17:20:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RGandiaLopez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rgandialopez/32/101739_2.png) [@RGandiaLopez](https://community.hubspot.com/u/RGandiaLopez)\
**Post date:** [March 1, 2022, 5:20pm UTC](https://community.hubspot.com/t/api-request/52374/1 "2022-03-01T17:20:22Z")

</div>

We have a one system where user will have to fill up the registration form. After filling the form we are submitting those data to hubspot through API request.

Here is that API endpoint which we are using to submit data from website to hubspot through AJAX request.

API endpoint: ‘[https://api.hsforms.com/submissions/v3/integration/submit/PORTAL\_ID/FORM\_ID](https://api.hsforms.com/submissions/v3/integration/submit/PORTAL_ID/FORM_ID)’

Now problem is that in many cases it is working fine but in some cases contact data are not store on husbpot side.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 2, 2022, 4:50pm UTC](https://community.hubspot.com/t/api-request/52374/2 "2022-03-02T16:50:17Z")

</div>

@RGandiaLopez

Is the entire contact record ommitted or specific properties that are not being populated? Do you see any error messages when there is a failure?

---

<div class="post-metadata">

**Author:** ![RGandiaLopez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rgandialopez/32/101739_2.png) [@RGandiaLopez](https://community.hubspot.com/u/RGandiaLopez)\
**Post date:** [March 3, 2022, 3:42pm UTC](https://community.hubspot.com/t/api-request/52374/3 "2022-03-03T15:42:23Z")

</div>

@dennisedson  
Thx for your feedback, we found a solution for the problem, which was related to the cookies.  
BR  
René
