IBM Support

405 Error While Connecting to Snowflake Database Connector

Troubleshooting


Problem

Customers may encounter a failure when using the Snowflake Database connector, where the connector is unable to establish a successful connection and returns a 405 error.

Symptom

  1. Connector shows a failed status
  2. Connection attempts to Snowflake fails
  3. Error message observed:{"errorCode":405,"errorMessage":"java.lang.NullPointerException"}

Cause

The problem is that Snowflake is deprecating basic username/password authentication and is now requiring OAuth 2.0/SSO logins to meet enhanced security and enterprise identity‑compliance standards.

The current Datalink setup supports programmatic access tokens, which can replace a password for Snowflake connections. By entering the PAT in the password field, the connection succeeds and authentication occurs via token‑based access rather than the traditional password method.

Note: This approach is a temporary workaround until Apptio delivers a permanent fix.

Diagnosing The Problem

To identify the issue, follow these steps:

  1. Navigate to the Datalink application.

  2. Open the Snowflake Database Connector.

  3. Run the connector.

  4. Observe the following error during execution:

    {"errorCode":405,"errorMessage":"java.lang.NullPointerException"}

    This confirms a connector execution failure and indicates a connectivity or authentication issue.

 

Resolving The Problem

Configure the connector to use Programmatic Access Tokens (PATs):

  1. Generate a PAT in Snowflake with the required access permissions.

    Link: https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#label-pat-use-p

  2. Open the Snowflake Database Connector configuration.

  3. Enter the PAT in the Password field.

  4. Save the configuration and test the connection.

  5. Run the connector to validate successful execution.

Document Location

Worldwide

Screenshot of error message

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSSOGY","label":"IBM Apptio"},"ARM Category":[{"code":"a8mKe000000XZJgIAO","label":"Datalink Financials-\u003EConnections"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""}]

Document Information

Modified date:
20 February 2026

UID

ibm17260064