Error when saving new node
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3580677. --> Reported by: [breidert](https://www.drupal.org/user/135619) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>After installing the recipe saving new nodes correctly assigns the content tags via AI.</p> <p>However, when adding a new node this error is thrown:</p> <pre>The website encountered an unexpected error. Try again later.<br><br>AssertionError: Cannot load the "node" entity with NULL ID. in assert() (line 266 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).</pre><h4 id="summary-steps-reproduce">Steps to reproduce</h4> <pre>mkdir drupal-ai-dev<br>cd drupal-ai-dev/<br>ddev config --project-type=drupal11 --docroot=web<br>ddev start<br>ddev composer create-project "drupal/recommended-project:^11"<br>ddev composer require drush/drush<br>ddev drush site:install --account-name=admin --account-pass=admin -y<br>ddev composer require 'drupal/ai<br>ddev composer require drupal/ai_provider_openai<br>ddev drush en ai_provider_openai -y</pre><p>Configure OpenA</p> <pre>mkdir recipes<br>ddev composer require drupal/ai_recipe_content_classification<br>ddev drush recipe ../recipes/ai_recipe_content_classification</pre><p>Create new content of type article and save.</p>
issue