"This entity (node: id) cannot be referenced" error I use Drupal 8 and I have a content type which has a field that references another content type as a entity reference field. I use a rest endpoint to create the node and the referenced node which works fine. 

I also have the workbench module installed so I can change the moderation state of the nodes. 

The problem is that when I change the moderation state from draft to review I get the error This entity (node: {ID}) cannot be referenced. 

Why am I getting this?
The view_unpublished "module allows you to grant access for specific user roles to view unpublished nodes of a specific type. Access control is quite granular in this regard."

composer require drupal/view_unpublished
drush en -y view_unpublished


At /admin/people/permissions set permissions as required:



Finally, at /en/admin/reports/status/rebuild rebuild the permissions, which may take some time: