Issue updating foreign key (typo in migration key?)

This just means that your changeset function is missing the foreign_key_constraint/3 call in it, add one as appropriate on your interest list id. :slight_smile:

As for the ‘cause’ of that error, you tried to assign a value to a foreign key field (completely legitimate action), however the value you assigned to that field had no matching ID on the remote foreign table, I.E. no row existed with that id. :slight_smile: