Can't connect to my Reason database

Reason stores your Amazon data in a private database. Depending on your account, it is either a PostgreSQL database or, for accounts moved to BASIS 3, a MotherDuck (DuckDB) database. Find which one you have before troubleshooting, because the connection details differ.

PostgreSQL MotherDuck (BASIS 3)
Where to find credentials Database credentials page at app.reasonautomation.com Connection info in BASIS 3
What you need Host, port 5432, database name, user name, password Database name starting with md: and a personal access token
Driver for Excel and BI tools PostgreSQL ODBC driver (psqlODBC) DuckDB ODBC driver
Access limited by IP address Yes No

If your account moved to BASIS 3 and you still use the old PostgreSQL details, you will connect to a database that is no longer updated. See Moving from Power BI BASIS to BASIS 3.

PostgreSQL: common errors

Error or symptom Cause Fix
no pg_hba.conf entry for host "<IP address>", or the connection is blocked Your network's IP address is not on the allowlist for your database Send support the public IP address or range you connect from (see below)
Timeout, "Read timed out", "server is not available" Network block, VPN, or a database outage Check that your IP is allowlisted and try off VPN. If it worked before and stopped, contact support
"Password authentication failed" Password copied with a space or missing characters, or the password changed Copy the password again from the Database credentials page. Do not paste it through a document that changes characters
Works in pgAdmin but not in Power BI or Excel The tool cannot read a character in the password Contact support to issue a password without special characters
SSL error SSL is required Set SSL mode to require or prefer. Looker Studio needs a special setting; contact support
Credentials page shows only one marketplace Each marketplace or account can have its own database Contact support with the accounts you expect to see

Allowlist an IP address

Reason's PostgreSQL databases accept connections only from approved IP addresses. To add one, email support@reasonautomation.com with:

  • The brand or database name
  • The public IP address or CIDR range (for example, 44.204.21.0/24   for a cloud integration tool)
  • What will connect from it (for example, Power BI gateway, Celigo, Azure Synapse)

Cloud services such as Power BI, Azure Synapse and integration platforms connect from their own IP ranges, not your office's. Ask the vendor for their outbound IP addresses.


Change your database password

Contact support to change your password. Before you ask, list every tool that uses the connection (gateways, ODBC data sources, scheduled jobs, integration tools). Each one will stop working until you enter the new password, so plan a time to update them all.

MotherDuck (BASIS 3): common errors

Error Fix
Authentication error Copy the token again in full. In Excel on Windows, the environment variable must be named exactly motherduck_token
Excel can't find the data source Create it in ODBC Data Sources (64-bit), on the System DSN tab. The DuckDB driver is 64-bit only
Wrong or empty database Use the database name that starts with md:, not an old PostgreSQL connection

Treat your token like a password. Don't share it or store it in a shared file.

When to contact support

Contact support@reasonautomation.com if none of the fixes above work. Include the brand, the tool you are connecting from, the full error message, and your public IP address. Never include your password or token.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.