I am migrating from vogels to dynogels and while updating the model I am getting this error:
ValidationException: Invalid UpdateExpression: An expression attribute value used in expression is not defined; attribute value: :ip
I debugged it and found that after I use setsession.set(token: token, ip:sourceip) and then use session.updateAsync() it throws the mentioned error.
my test case fails only when I am not passing value to ip. this used to work fine in vogels. I checked and found that in models attributes I don't get the field which is undefined but in case of dynogels I am getting it in the model attribute
I am migrating from vogels to dynogels and while updating the model I am getting this error:
ValidationException: Invalid UpdateExpression: An expression attribute value used in expression is not defined; attribute value: :ip
I debugged it and found that after I use
set
session.set(token: token, ip:sourceip)
and then usesession.updateAsync()
it throws the mentioned error.my test case fails only when I am not passing value to ip. this used to work fine in vogels. I checked and found that in models attributes I don't get the field which is undefined but in case of dynogels I am getting it in the model attribute