Has anyone ran into this error? : `Cannot read pro...
# ask-questions
m
Has anyone ran into this error? :
Cannot read properties of undefined (reading 'EndsWith')
It just started yesterday on all of our experiments.
f
Hi John,
can you give some more context? do you get this on all experiments?
m
Yes, it suddenly started showing on all experiments. And retrying connection to our database is giving us the same error
f
Do you use BigQuery by any chance?
m
No, we use Snowflake
f
ah, ok. We just updated the Snowflake SDK to the latest version. There was nothing in the release notes about breaking changes, but there might be a bug there
Is this on GrowthBook Cloud? I'm looking at our logs to see if I can get any more details about the error
m
Yes, it is on cloud
f
It's crashing on this line:
connectionConfig.host.endsWith
So the configured host is undefined for some reason. What format are you using for your account name? Does it include region?
m
yes, it includes region
xxxxxx.us-west-2
f
ah, it looks like a bug in Snowflake's SDK. Can you try removing the
.us-west-2
part and seeing if that works?
m
It worked! Thank you, i would never have figured that out.
f
Great! I'm working with the Snowflake team now to fix their SDK. Thanks for pointing this out!
m
image.png