# Credential is missing from storage oracle DB 26ai

**URL:** <https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535>\
**Category:** General\
**Created:** [11 March 2026 06:24 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535 "2026-03-11T06:24:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sidisl16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sidisl16/32/106145_2.png) [@sidisl16](https://discourse.nodered.org/u/sidisl16)\
**Post date:** [11 March 2026 06:24 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/1 "2026-03-11T06:24:01Z")

</div>

We have implemented storage module using Oracle DB 26ai, but credential is missing while storing into DB, hash which storage function receives doesn't have the credentials. So the credential go away when we restart the node red. Please help!.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [11 March 2026 16:46 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/2 "2026-03-11T16:46:24Z")

</div>

Without being able to see the code for your storage module there is little we can do.

Can you point to a GitHub (or similar public) repo we can see the code in?

But if I've understood properly what you've described, what is passed to the credentials storage is not a hash, it's an encrypted copy of the credentials object. The key for which is included in the settings object

---

<div class="post-metadata">

**Author:** ![sidisl16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sidisl16/32/106145_2.png) [@sidisl16](https://discourse.nodered.org/u/sidisl16)\
**Post date:** [12 March 2026 07:19 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/3 "2026-03-12T07:19:13Z")

</div>

I have refered [GitHub - gingerhelp/node-red-contrib-mysql-storage-plugin: Node Red MySQL Storage Plugin · GitHub](https://github.com/gingerhelp/node-red-contrib-mysql-storage-plugin/tree/master) to implement my plugin. Sorry for the confusion, hash means the encrypted credential only. The encrypted value doesn't have credential, it has encrypted empty object. You can refer `credentials.js` inside `/../@node-red/runtime/lib/nodes` the `encryptCredentials` function has credentials object which is empty during node creation with creds. But if I use the default `localfilesystem` storage it works well.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [12 March 2026 08:33 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/4 "2026-03-12T08:33:29Z")

</div>

No, we need to see your actual code, not what you have "based" your code on.

You also need to give a LOT more detail about how you are testing this, we need to be able to try and reproduce the problem if we are going to help.

e.g. Which nodes are you testing with? Is it one of the core nodes like the http request node?

---

<div class="post-metadata">

**Author:** ![sidisl16](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sidisl16/32/106145_2.png) [@sidisl16](https://discourse.nodered.org/u/sidisl16)\
**Post date:** [17 March 2026 04:50 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/5 "2026-03-17T04:50:21Z")

</div>

Issue resolved.  
Reason for failure: In the storage plugin, `getCredentials` was returning an empty array instead of an empty object when no credentials were available.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 June 2026 04:50 UTC](https://discourse.nodered.org/t/credential-is-missing-from-storage-oracle-db-26ai/100535/6 "2026-06-15T04:50:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
