# Http Response node error and same record is inserting and updating twice

**URL:** <https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411>\
**Category:** General\
**Created:** [1 November 2019 12:22 UTC](https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411 "2019-11-01T12:22:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [1 November 2019 12:43 UTC](https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411/2 "2019-11-01T12:43:56Z")

</div>

Is this the same issue as you other post?? If so please don't open multiple threads for the same issue but continue the thread you already opened

> [@Same record is inserting twice](https://discourse.nodered.org/t/same-record-is-inserting-twice/16590/4):
>
> [{"id":"6e9e4a88.0261c4","type":"tab","label":"Order Sync to ERP","disabled":false,"info":""},{"id":"78904ae2.44df94","type":"function","z":"6e9e4a88.0261c4","name":"Payload is not empty","func":" var SCBASICSYNC = global.get('appconfig').oracledbschema + `.` + global.get('appconfig').tableSCBASICSYNC;\n \n var orderbpmid = msg.payload.ORDERBPMID;\n var query = `select * from ` + SCBASICSYNC + ` where ORDERBPMID = '` + orderbpmid + `'`\n msg.payload.query = query;\n \n return msg;","outputs":…

---

_[View the full topic](https://discourse.nodered.org/t/http-response-node-error-and-same-record-is-inserting-and-updating-twice/17411)._
