Error: readObject Must Not Be Null
Issue
While testing Snowflake warehouse credentials, the following error appears:
Error encountered while running an operation in the data warehouse: readObject(...) must not be null
Environment
Activations source: Snowflake
Resolution
To resolve this issue:
- Ensure you generated the private key correctly. For more information, see the Snowflake documentation on generating private keys and the Activations Snowflake source setup guide.
- Paste the complete private key into the applicable field, preserving its original formatting. Ensure that:
- The key includes all original line breaks.
- The key begins with
-----BEGIN PRIVATE KEY-----. - The key ends with
-----END PRIVATE KEY-----. - A password manager or browser extension hasn't removed or modified any content.
The private key must use the following format:
-----BEGIN PRIVATE KEY----- <private_key_with_line_breaks> -----END PRIVATE KEY-----
Cause
This issue occurs when the private key is missing required content or formatting, preventing Fivetran from reading it.