PostgreSQL Database hosted on RDS not being able to connect to Auth0 custom database

While connected my RDS PostgreSQL database into auth0 - i get this when Trying my create script.

I’ve been stuck for days. I’m not sure what’s going on. Everything looks fine on my end, is this an issue with Auth0?

breadcrumbs.ts:155 TypeError: t.includes is not a function
at t.getOptionalPlaceholderSuffix (main.js:1:2001562)
at main.js:1:1995163
at vendor.js:128:2654483
at vendor.js:128:2654095
at ie (vendor.js:128:2679655)
at e.track (vendor.js:128:2690546)
at vendor.js:128:2654071
at vendor.js:128:2653910
at O (vendor.js:128:2654045)
at l (vendor.js:128:2654462)
at aa (vendor.js:128:3339444)
at Va (vendor.js:128:3348962)
at Ua (vendor.js:128:3348296)
at Ba (vendor.js:128:3347954)
at Gs (vendor.js:128:3394801)
at Il (vendor.js:128:3378847)
at Cl (vendor.js:128:3378775)
at kl (vendor.js:128:3378638)
at bl (vendor.js:128:3375625)
at vendor.js:128:3325363
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at Ko (vendor.js:128:3325308)
at Go (vendor.js:128:3325243)
at hl (vendor.js:128:3373010)
at Object.enqueueSetState (vendor.js:128:3329217)
at g.setState (vendor.js:128:3578119)
at t. (main.js:1:143550)
at main.js:1:142293
at Object.next (main.js:1:142398)
at a (main.js:1:141115)
(anonymous) @ breadcrumbs.ts:155
overrideMethod @ console.js:273
us @ vendor.js:128
n.callback @ vendor.js:128
hi @ vendor.js:128
ys @ vendor.js:128
Rl @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
jl @ vendor.js:128
bl @ vendor.js:128
(anonymous) @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
Ko @ vendor.js:128
Go @ vendor.js:128
hl @ vendor.js:128
enqueueSetState @ vendor.js:128
g.setState @ vendor.js:128
(anonymous) @ main.js:1
(anonymous) @ main.js:1
(anonymous) @ main.js:1
a @ main.js:1
Promise.then (async)
l @ main.js:1
(anonymous) @ main.js:1
S @ main.js:1
t.show @ main.js:1
(anonymous) @ main.js:1
(anonymous) @ main.js:1
ye @ vendor.js:128
r @ vendor.js:128
g @ vendor.js:128
(anonymous) @ vendor.js:128
e.runReaction @ vendor.js:128
He @ vendor.js:128
qe @ vendor.js:128
(anonymous) @ vendor.js:128
_l @ vendor.js:128
qe @ vendor.js:128
Ve @ vendor.js:128
Ne @ vendor.js:128
(anonymous) @ vendor.js:128
ye @ vendor.js:128
r @ vendor.js:128
e.showModal @ main.js:1
(anonymous) @ main.js:1
(anonymous) @ main.js:1
(anonymous) @ main.js:1
a @ main.js:1
Promise.then (async)
l @ main.js:1
(anonymous) @ main.js:1
PF @ main.js:1
(anonymous) @ main.js:1
qe @ vendor.js:128
Ge @ vendor.js:128
(anonymous) @ vendor.js:128
kr @ vendor.js:128
Cr @ vendor.js:128
(anonymous) @ vendor.js:128
Me @ vendor.js:128
(anonymous) @ vendor.js:128
Dr @ vendor.js:128
Jt @ vendor.js:128
Xt @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
Re @ vendor.js:128
Kt @ vendor.js:128
sentryWrapped @ helpers.ts:77
Show 1 more frame
Show less
breadcrumbs.ts:155 TypeError: this.$reactionDisposer is not a function
at t.componentWillUnmount (main.js:1:616639)
at bs (vendor.js:128:3367960)
at Os (vendor.js:128:3370172)
at Rl (vendor.js:128:3381778)
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at jl (vendor.js:128:3379739)
at bl (vendor.js:128:3375850)
at vendor.js:128:3325363
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at Ko (vendor.js:128:3325308)
at Go (vendor.js:128:3325243)
at hl (vendor.js:128:3373010)
at Object.enqueueSetState (vendor.js:128:3329217)
at g.setState (vendor.js:128:3578119)
at t. (main.js:1:143550)
at main.js:1:142293
at Object.next (main.js:1:142398)
at a (main.js:1:141115)
(anonymous) @ breadcrumbs.ts:155
overrideMethod @ console.js:273
us @ vendor.js:128
n.callback @ vendor.js:128
hi @ vendor.js:128
ys @ vendor.js:128
Rl @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
jl @ vendor.js:128
bl @ vendor.js:128
(anonymous) @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
Ko @ vendor.js:128
Go @ vendor.js:128
N @ vendor.js:128
_.port1.onmessage @ vendor.js:128
Show 1 more frame
Show less
vendor.js:128 Uncaught TypeError: this.$reactionDisposer is not a function
at t.componentWillUnmount (main.js:1:616639)
at bs (vendor.js:128:3367960)
at Os (vendor.js:128:3370172)
at Rl (vendor.js:128:3381778)
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at jl (vendor.js:128:3379739)
at bl (vendor.js:128:3375850)
at vendor.js:128:3325363
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at Ko (vendor.js:128:3325308)
at Go (vendor.js:128:3325243)
at hl (vendor.js:128:3373010)
at Object.enqueueSetState (vendor.js:128:3329217)
at g.setState (vendor.js:128:3578119)
at t. (main.js:1:143550)
at main.js:1:142293
at Object.next (main.js:1:142398)
at a (main.js:1:141115)
t.componentWillUnmount @ main.js:1
bs @ vendor.js:128
Os @ vendor.js:128
Rl @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
jl @ vendor.js:128
bl @ vendor.js:128
(anonymous) @ vendor.js:128
t.unstable_runWithPriority @ vendor.js:128
Wo @ vendor.js:128
Ko @ vendor.js:128
Go @ vendor.js:128
hl @ vendor.js:128
enqueueSetState @ vendor.js:128
g.setState @ vendor.js:128
(anonymous) @ main.js:1
(anonymous) @ main.js:1
(anonymous) @ main.js:1
a @ main.js:1
main.js:1 Uncaught (in promise) TypeError: t.includes is not a function
at t.getOptionalPlaceholderSuffix (main.js:1:2001562)
at main.js:1:1995163
at vendor.js:128:2654483
at vendor.js:128:2654095
at ie (vendor.js:128:2679655)
at e.track (vendor.js:128:2690546)
at vendor.js:128:2654071
at vendor.js:128:2653910
at O (vendor.js:128:2654045)
at l (vendor.js:128:2654462)
at aa (vendor.js:128:3339444)
at Va (vendor.js:128:3348962)
at Ua (vendor.js:128:3348296)
at Ba (vendor.js:128:3347954)
at Gs (vendor.js:128:3394801)
at Il (vendor.js:128:3378847)
at Cl (vendor.js:128:3378775)
at kl (vendor.js:128:3378638)
at bl (vendor.js:128:3375625)
at vendor.js:128:3325363
at t.unstable_runWithPriority (vendor.js:128:3992680)
at Wo (vendor.js:128:3325140)
at Ko (vendor.js:128:3325308)
at Go (vendor.js:128:3325243)
at hl (vendor.js:128:3373010)
at Object.enqueueSetState (vendor.js:128:3329217)
at g.setState (vendor.js:128:3578119)
at t. (main.js:1:143550)
at main.js:1:142293
at Object.next (main.js:1:142398)
at a (main.js:1:141115)

Additional Info:

When clicking the “Try” script, the page goes blank, and those are the consoles ^

This is my script

function create(user, callback) {
const { Client } = require(‘pg’);

const conString = configuration.DB_URL; // Use the DB_URL from the configuration
const client = new Client({
connectionString: conString,
ssl: {
rejectUnauthorized: false // Necessary for AWS RDS, unless you configure the CA cert
}
});

client.connect(err => {
if (err) {
console.error(‘Connection error’, err.stack);
return callback(err);
}

const query = 'INSERT INTO users(email) VALUES ($1) RETURNING id';
client.query(query, [user.email], function (err, result) {
  client.end(); // Make sure to close the connection after the query

  if (err) {
    console.error('Query error', err.stack);
    return callback(err);
  }

  // Return the user_id as a string, Auth0 expects this format
  callback(null, {
    user_id: result.rows[0].id.toString()
  });
});

});
}