# trying to create a ruby integration, but keep getting erros.

**URL:** <https://community.hubspot.com/t/trying-to-create-a-ruby-integration-but-keep-getting-erros/100943>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [February 23, 2024, 4:55pm UTC](https://community.hubspot.com/t/trying-to-create-a-ruby-integration-but-keep-getting-erros/100943 "2024-02-23T16:55:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_754](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/j_754/32/201745_2.png) [@j\_754](https://community.hubspot.com/u/j_754)\
**Post date:** [February 23, 2024, 4:55pm UTC](https://community.hubspot.com/t/trying-to-create-a-ruby-integration-but-keep-getting-erros/100943/1 "2024-02-23T16:55:57Z")

</div>

properties = {  
“first\_name”: “bob”,

“last\_name”: “bobson”  
}

body = { properties: properties }  
api\_response = api\_client.crm.contacts.basic\_api.update(contact\_id: 1, body: body)  
puts api\_response

“Property values were not valid”

No matter what property i use it returns a property not valid.

what are the properties that I can update?

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [February 24, 2024, 12:55am UTC](https://community.hubspot.com/t/trying-to-create-a-ruby-integration-but-keep-getting-erros/100943/2 "2024-02-24T00:55:10Z")

</div>

Hi [@j\_754](https://community.hubspot.com/t5/user/viewprofilepage/user-id/715585) 👋

You’ll need to make sure you’re referencing the correct internal property names. Relating to your example, HubSpot’s standard internal names for these properties are “firstname” and “lastname” (i.e. not separated by underscore). You might like to consider reviewing [HubSpot’s Properties API documentation](https://developers.hubspot.com/docs/api/crm/properties). You can also find the internal names within HubSpot’s web UI via _Settings_ \> _Properties_ \> {_Property_} \> _“\</\>” symbol at top-right of screen_.

 ![Screenshot 2024-02-24 at 10.53.01.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/a/5a5bacecc44707abfbf830c83bcd48d80b506e7c.png)

I hope this proves useful. Please let me know if you have any follow-up questions.
