# owner\_id problem (API)

**URL:** https://forum.mautic.org/t/owner-id-problem-api/6897
**Category:** Product Support
**Created:** [December 19, 2016, 9:43am UTC](https://forum.mautic.org/t/owner-id-problem-api/6897 "2016-12-19T09:43:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rui.ferreira](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rui.ferreira](https://forum.mautic.org/u/rui.ferreira)
#### Post date: [December 19, 2016, 9:43am UTC](https://forum.mautic.org/t/owner-id-problem-api/6897/1 "2016-12-19T09:43:38Z")

</div>

Hello.  
  
  
  
I have a problem with the **“owner\_id”** field when using the API. When I try to change it, the value sent in the query is always null, and I am sure that the id sent is an integer and associated to an existing contact owner.  
  
Anyone had this problem before?  
  
  
  
Thanks!

---

<div class="post-metadata">

### Author: ![rui.ferreira](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rui.ferreira](https://forum.mautic.org/u/rui.ferreira)
#### Post date: [December 19, 2016, 9:43am UTC](https://forum.mautic.org/t/owner-id-problem-api/6897/2 "2016-12-19T09:43:38Z")

</div>

Hello.

I have a problem with the “owner\_id” field when using the API. When I try to change it, the value sent in the query is always null, and I am sure that the id sent is an integer and associated to an existing contact owner.  
Anyone had this problem before?

Thanks!

---

<div class="post-metadata">

### Author: ![rui.ferreira](https://avatars.discourse-cdn.com/v4/letter/r/49beb7/32.png) [@rui.ferreira](https://forum.mautic.org/u/rui.ferreira)
#### Post date: [December 19, 2016, 12:25pm UTC](https://forum.mautic.org/t/owner-id-problem-api/6897/3 "2016-12-19T12:25:29Z")

</div>

Just figured it out… the field name is different from the one in the database:  
DB: owner\_id  
API: owner

Solved!
