# Cannot update companies through API

**URL:** <https://community.hubspot.com/t/cannot-update-companies-through-api/29213>\
**Category:** APIs & Integrations\
**Tags:** companies, oauth\
**Created:** [December 15, 2020, 6:56pm UTC](https://community.hubspot.com/t/cannot-update-companies-through-api/29213 "2020-12-15T18:56:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arickp1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/arickp1/32/49725_2.png) [@arickp1](https://community.hubspot.com/u/arickp1)\
**Post date:** [December 15, 2020, 6:56pm UTC](https://community.hubspot.com/t/cannot-update-companies-through-api/29213/1 "2020-12-15T18:56:20Z")

</div>

I’m having a problem getting my integration to work for one of my customers. Updating companies through the API seems to have no effect. However, I am able to update contacts through the API just fine; updating the company records through the CRM UI works, too. The OAuth token has the “contacts” scope, and the token was generated by a Super Admin (we tried two different Super Admins and neither of them are able to update companies).

The customer’s HUB ID is 8843909.

The API call we’re trying is:

PUT [https://api.hubapi.com/companies/v2/companies/5029244080](https://api.hubapi.com/companies/v2/companies/5029244080)

{“properties:”:[{“name”: “name”, “value”: “Eric testing 123”}]}

---

<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:** [December 15, 2020, 7:01pm UTC](https://community.hubspot.com/t/cannot-update-companies-through-api/29213/2 "2020-12-15T19:01:13Z")

</div>

hey @arickp1

Is this issue unique to one portal or is there a theme here?

Do you get any error messaging?

---

<div class="post-metadata">

**Author:** ![arickp1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/arickp1/32/49725_2.png) [@arickp1](https://community.hubspot.com/u/arickp1)\
**Post date:** [December 15, 2020, 7:40pm UTC](https://community.hubspot.com/t/cannot-update-companies-through-api/29213/3 "2020-12-15T19:40:34Z")

</div>

Hi @dennisedson ,

This only happens in HUB ID 8843909. It is as if the Super Admin user doesn’t have permission to update companies. But I just did a test again now and it seemed to take this time! I don’t know if you fixed something but I seem to be OK for now.

---

<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:** [December 15, 2020, 7:46pm UTC](https://community.hubspot.com/t/cannot-update-companies-through-api/29213/4 "2020-12-15T19:46:31Z")

</div>

Let’s just assume I fixed something 😜  
I need all the validation I can get!
