Closed jennlw closed 1 month ago
Response from customer:
Thanks for getting back to this topic, Indeed we have a
generate_schema_name
macro and the error is coming from there. This macro was unchanged and in 1.7 it was not throwing this error. I will fix it on our side. You can mark this ticket as closed.
Is this a new bug in dbt-core?
Current Behavior
On Versionless, while in the IDE, error comes up when trying to run commansd, even 'dbt ls' will not work. Encountered an error: Compilation Error 'None' has no attribute 'endswith'
If you switch version to 1.7 the error becomes: Encountered an error: Runtime Error Credentials in profile "user", target "default" invalid: None is not of type 'string'.
The 1.7 message helped user to resolve the issue by going to their Credentials and selecting "Connect Snowflake Account"
Expected Behavior
Error code is helpful in pointing user in the right direction to troubleshoot and resolve.
Steps To Reproduce
I have been trying to reproduce, but I'm not able to leave my credentials blank. This may be related to Snowflake Oauth
Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response