Frequent 409 Error: "You do not have the latest changes, please refresh your browser." When working with Content templates
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3558725. -->
Reported by: [mayur-sose](https://www.drupal.org/user/3832406)
Related to !348
>>>
<h3 id="overview">Overview</h3>
<p>
While making any changes to a page, a 409 error is frequently encountered with the following message:<br></p>
<pre>{<br> "status": "409",<br> "errors": {<br> "errors": [<br> "You do not have the latest changes, please refresh your browser."<br> ]<br> },<br> "message": "You do not have the latest changes, please refresh your browser."<br>}</pre>
<p>
This happens repeatedly, even when it appears there have been no new edits or changes by any other user.
</p>
<h4>Steps to Reproduce</h4>
<ol>
<li>Open any editable page in the site editor.</li>
<li>Make a change (e.g., edit content, add or remove a component).</li>
<li>Attempt to save or publish the changes.</li>
<li>Observe that, frequently, a 409 error is returned with the message:<br><br>
<code>"You do not have the latest changes, please refresh your browser."</code>
</li>
<li>After refreshing, the user can usually continue editing and save, but the error often reappears during further edits.</li>
</ol>
<h3 id="proposed-resolution">Proposed resolution</h3>
<h3 id="ui-changes">User interface changes</h3>
issue