Custom field does not save with php integration

I am trying to integrate infusion into laravel. it already lets me save a contact but it doesn’t allow me to update the values for custom fields. I get this error

`Client error: `PATCH https://xxxxxxxxx/crm/rest/v1/contacts/213?access_token=xxxxxxxxxxxxxx` resulted in a `400 Bad Request` response: {"message":"Unrecognized property: tag_ids"}`