https://www.growthbook.io/ logo
h

helpful-carpenter-3208

05/17/2022, 4:05 AM
Hi team. we met an error when evaluating features. Any suggestions to bypass this error?
f

fresh-football-47124

05/17/2022, 4:06 AM
thats interesting, looking
h

helpful-carpenter-3208

05/17/2022, 4:07 AM
we are currently trying to reproduce this error as well. haven’t got luck yet.
f

fresh-football-47124

05/17/2022, 4:11 AM
I wonder if there was a transitional error while the feature Json was being updated? you can't reproduce it?
h

helpful-carpenter-3208

05/17/2022, 6:49 AM
it’s strange.. we can’t reproduce it locally. but it happens in our prod.
we can’t reproduce the exact error message. but it can still error out when user attributes is in nested format and when it’s null. like the rule is checking
address.state
but
user.address
is
null
. it will error out. seems like the mongorule didn’t handle edge cases properly
f

fresh-football-47124

05/17/2022, 8:51 AM
okay, thanks for this, we'll take a look
f

future-teacher-7046

05/17/2022, 12:25 PM
Thanks for catching this. I'm able to reproduce. Adding test cases and pushing out a new version in a few minutes
The javascript SDK has a new version out 0.17.1 now that fixes this issue
h

helpful-carpenter-3208

05/17/2022, 12:31 PM
We are using it in RN project. So It's updated as well right?
f

future-teacher-7046

05/17/2022, 12:44 PM
The js SDK is a dependency of the react SDK. You might need to update the version in yarn.lock or package lock file
1
5 Views