-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
- What version of GO driver are you using?
v1.15.0
- What operating system and processor architecture are you using?
MacOS Sequoia 15.6 | Apple M4 Pro (ARM)
- What version of GO are you using?
rungo version
in your console
go version go1.24.5 darwin/arm64
4.Server version:* E.g. 1.90.1
You may get the server version by running a query:
SELECT CURRENT_VERSION();
9.23.1
- What did you do? If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
I am attempting to follow the documentation for connecting via .toml, which directs me to this example, which is what I am trying to run. I set up my connections.toml
and config.toml
files but keep running into the same error message:
failed to connect. 260001: user is empty,
exit status 1
Steps I took:
- ensured proper file path
- ensured proper TOML file structure, fields, and values.
- tried just directing to
config.toml
and justconnections.toml
- ensured proper read/write access for owner (same as when running the program)
- ensured values work if I use a regular connection string
- What did you expect to see?
What should have happened and what happened instead?
I expected the success message from fmt.Printf("Congrats! You have successfully run %v with Snowflake DB!\n", query)
But instead I see
failed to connect. 260001: user is empty,
exit status 1
-
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
Before sharing any information, please be sure to review the log and remove any sensitive
information.
I can't specify the logs since it doesn't pick-up my config.toml file