Craft 3 plugin to import channel entries
As per your comments, the title field is required and causing a validation error. This can be resolved simply by setting the title.

$entry-&gt;title = 'The Title';


You can output the validation errors to be notified of any issues with saving the entries as follows.

if ($result === false) {
    \Craft:dd($entry-&gt;getErrors());
}