# Adding record to db problem

**URL:** <https://community.dreamfactory.com/t/adding-record-to-db-problem/2193>\
**Category:** REST API\
**Created:** [February 14, 2016, 11:13pm UTC](https://community.dreamfactory.com/t/adding-record-to-db-problem/2193 "2016-02-14T23:13:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andersonmuller](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@andersonmuller](https://community.dreamfactory.com/u/andersonmuller)\
**Post date:** [February 16, 2016, 12:09pm UTC](https://community.dreamfactory.com/t/adding-record-to-db-problem/2193/2 "2016-02-16T12:09:49Z")

</div>

Hi @rtnieuwboer,

A workaround is use pre-process script to modify the post payload, adding the missing “resource”.

Maybe this post will help you: [Update field using PreProcess scripts](https://community.dreamfactory.com/t/update-field-using-preprocess-scripts/2025)

---

_[View the full topic](https://community.dreamfactory.com/t/adding-record-to-db-problem/2193)._
