The "friendly name" for identifying headings is broken if the heading contains no text
The system is stopping you from saving perfectly valid text.
These are both fixed in dba87bff048e
. The constraint for heading names is no longer needed, and the friendly names produced by these kinds of error messages has been improved (although it cannot ever be useful for non-text content).