Replies: 3 comments 6 replies
-
Hey @ktwbc 👋 This definitely isn't working as expected, thank you for opening this ticket. Are you using this for new data? I wouldn't think you're using this with existing data given that you're using the default key for the |
Beta Was this translation helpful? Give feedback.
5 replies
-
well it got past the initial issue but attempting to use the byUser in a query isn't working.
debug:
error:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I hadn't updated the actual db with the new user_token_pk name, so I did that and did get it working. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to use electro on a small ddb table that has two GSIs. Right now the table is blank, and doing an upsert() should insert but I'm getting a failure Invalid UpdateExpression: Two document paths overlap with each other; must remove or rewrite one of these paths; path one: [updated_at], path two: [user_id]" - For more detail on this error reference: https://electrodb.dev/en/reference/errors/#aws-error
index structure:
table in ddb:
I've purposely deleted token_id and user_id from my other fields, trying to not get them to duplicate but the electrodb db logger does it anyway:
logger
I can clearly see it duplicating user_id as both user_id_u0 and user_id_u1, as well as updated_at, I just can't figure out why or what to do to fix it.
Beta Was this translation helpful? Give feedback.
All reactions