# Updating custom object record through API containing PATCH request

**URL:** <https://community.hubspot.com/t/updating-custom-object-record-through-api-containing-patch-request/72451>\
**Category:** APIs & Integrations\
**Created:** [January 9, 2023, 11:05am UTC](https://community.hubspot.com/t/updating-custom-object-record-through-api-containing-patch-request/72451 "2023-01-09T11:05:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JFaldu](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@JFaldu](https://community.hubspot.com/u/JFaldu)\
**Post date:** [January 9, 2023, 11:05am UTC](https://community.hubspot.com/t/updating-custom-object-record-through-api-containing-patch-request/72451/1 "2023-01-09T11:05:07Z")

</div>

Hello, I am currently trying to update a record in custom object through API which contains PATCH request. I have checked from object schema to record’s label and name, everything is alright and fine. But, Hubspot response giving an error like this :-

“status”: “error”,

“message”: “resource not found”,

So,what should I do now. I am putting ths request with the authorization of private app access-token. Any kind of suggestion or help would be appreciated, Thank you.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 9, 2023, 11:41pm UTC](https://community.hubspot.com/t/updating-custom-object-record-through-api-containing-patch-request/72451/2 "2023-01-09T23:41:35Z")

</div>

Hi, @JFaldu 👋 Can you provide more details, please? An example request and response will help the community better understand your issue. Also, specifically what are trying to update with your PATCH request?

Thanks!

---

<div class="post-metadata">

**Author:** ![JFaldu](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@JFaldu](https://community.hubspot.com/u/JFaldu)\
**Post date:** [January 10, 2023, 6:30am UTC](https://community.hubspot.com/t/updating-custom-object-record-through-api-containing-patch-request/72451/3 "2023-01-10T06:30:18Z")

</div>

Thank you for responding.

I am trying to form a base request as per documentation mentioned here.

url : [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/crm-custom-objects)

screenshot : [Screenshot by Lightshot](https://prnt.sc/zGlKEIfmG1Mj)

I have checked all params and scopes regarding this API.The error which I am getting is here

screenshot : [Screenshot by Lightshot](https://prnt.sc/txB3SXXuLxW4)

I am trying to update a record in custom object “Builds” which I created in Hubspot portal.

So,please do the needful and any kind of solution would be helpful, regards.
