# Update a site-page PATCH API not working

**URL:** <https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [May 24, 2023, 4:52pm UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948 "2023-05-24T16:52:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![InnayatUllah](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/innayatullah/32/198737_2.png) [@InnayatUllah](https://community.hubspot.com/u/InnayatUllah)\
**Post date:** [May 24, 2023, 4:52pm UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948/1 "2023-05-24T16:52:39Z")

</div>

I’ve been trying to update a site-page via API from API documentation at [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/cms/pages)  
However, I’m unable to update even the title of the page let alone the layoutSections etc.  
I’m using the correct scope in my OAuth (standard _content_ scope) as required and mentioned in the API documentation.  
The request is a PATCH request, it returns with an OK response but the changes do not reflect in the response or in the actual page in CMS.

---

<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:** [May 25, 2023, 8:28pm UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948/2 "2023-05-25T20:28:59Z")

</div>

Hi, @InnayatUllah 👋 Welcome to the community! Thank you for your post. The community may need additional information to help you troubleshoot.

Here are a few questions to help the community:

- Can you share your request and the JSON body, please?
- Same for the response. Can you share it even if it’s returning OK, there might be some details in the response that could indicate what’s going wrong?
- Are there any error messages being returned by the API?
- Is there anything unique about your page that the community should be aware of?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![VRamalho](https://avatars.discourse-cdn.com/v4/letter/v/f08c70/32.png) [@VRamalho](https://community.hubspot.com/u/VRamalho)\
**Post date:** [August 22, 2023, 11:46am UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948/3 "2023-08-22T11:46:18Z")

</div>

I am also experiencing the same problem. I used my page ID and my private app key to retrieve the page layout. Then, after changing just a bit of the content of this layout, i try to use the end point in the hubspot documantion. The request goes through with no issues, but it retrieves the exact same content.

---

<div class="post-metadata">

**Author:** ![TDwebdev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tdwebdev/32/78032_2.png) [@TDwebdev](https://community.hubspot.com/u/TDwebdev)\
**Post date:** [September 7, 2023, 5:47pm UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948/4 "2023-09-07T17:47:30Z")

</div>

I have the same problem. No errors but still the same content

---

<div class="post-metadata">

**Author:** ![JLima57](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jlima57/32/204078_2.png) [@JLima57](https://community.hubspot.com/u/JLima57)\
**Post date:** [October 7, 2024, 10:55pm UTC](https://community.hubspot.com/t/update-a-site-page-patch-api-not-working/81948/5 "2024-10-07T22:55:55Z")

</div>

Same error around here, the File that I get it back. Is the the same published.  
I saw the history version, and is creating a new version, but with no changes.  
How to resolve this??
