Foreign key constraint failed on the field (prisma )

ADEKOLA Abdwahab - Oct 19 '22 - - Dev Community

This error comes up due to the fact that you have a foreign key requirement on your DB.

So you need to check what you inserting into the DB and ensure that your insertion(s) meets up with the foreign key requirement.

. . . . . . . . . . . . . . . . . . . . . . .