Query error reasons
Warehouse login rejected
Your warehouse rejected the user name, password or key that Databrain signs in with.
Reason in E1005 | Diagnostic code | Who can fix it | Does a retry help? |
|---|---|---|---|
AUTH_FAILED | DBN-WH-002 | Your admin | No |
What this means
Your warehouse rejected the user name, password or key that Databrain signs in with. The warehouse refused the Databrain login. Usually the password or key was changed or expired, or the warehouse no longer allows this user to sign in from Databrain.
What people see
| Who | Message | Next step |
|---|---|---|
| Admin or API caller | The data source rejected the Databrain login. | Ask your admin to update the credentials in Data sources. |
| Embed viewer | This chart has a data setup problem. | Contact your admin. |
How to fix it
- Go to Datasources and open the datasource.
- Enter the current user name and password or key.
- Save the datasource and open the chart again.
Warehouse codes behind it
| Warehouse | Codes |
|---|---|
| MySQL, SingleStore | 1045 |
| PostgreSQL, Redshift, CockroachDB | SQLSTATE 28000, 28P01 |
| Snowflake | 390100, 390303, 390318 |
| ClickHouse | 516 (AUTHENTICATION_FAILED) |
| SQL Server, Microsoft Fabric | 18456 |
| Athena, Amazon S3, CSV | UnrecognizedClientException, InvalidSignatureException, ExpiredTokenException |
Ask for help
Every error has a six-character ref, for example Ref A1B2C3. API callers find it in
details.ref. Search for the ref in Settings > Diagnostics > Logs to see the full log line, or
send the ref and the time of the error to support.