Heyo, Im getting an error after clearing
Heyo, Im getting an error after clearing my
episodes table and adding items to a different table:
Found ID "jx710mhbsdtz4dyz175vfvna717shz3d" from table episodes
Seems like convex assumes the id is still taken by an episode? How can I fix it8 Replies
do you mind showing your schema? particularly if there's any other table that relates to this deleted table?
I'm thinking that you may have kept some data that have a relationship with this table by using "v.id("episodes")", in which the table is cleared, but the id somewhere else still exists, in which you will need to remove it
I do have relations for it, but I actually cleared all my tables
thats odd. I don't know :joeshrug:
Can you share the function where this error is happening
Do you have a stack trace for where in the handler this error is coming from, otherwise you'll need to console log to narrow it down. You want to see exactly when execution fails.
It comes from my http api
I do a mutation on a http.route when I receive webhook
Right, but inside of this internal mutation that error is occurring, we need to know which function in this mutation is causing the error
If you add console logs throughout the mutation, you can deduce where the failure is occurring