@MURASAKI. same problem,
lluminate\Database\QueryException
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`sql_whatsapp`.`message_histories`, CONSTRAINT `message_histories_device_id_foreign` FOREIGN KEY (`device_id`) REFERENCES `devices` (`id`) ON DELETE CASCADE) (SQL: insert into `message_histories` (`device_id`, `message`, `number`, `payload`, `send_by`, `status`, `type`, `user_id`) values (1, The current version is[v20.12.2], 62xxxxx, {"_token":"Pyfkls60BvJkhvPp3uIekVMd2GpcpdiQ502oG3Zg","sender":"62xxxxxx","number":"62xxxxx","type":"media","url":"http:\/\/xxxxx\/storage\/files\/1\/d2d4c52f-ef06-486e-bbba-c7b6ff08f43c.jpg","media_type":"document","caption":"The current version is[v20.12.2]"}, web, success, media, 1))