I had a similar problem with this one: Why can't I create a logical partition with
gparted?, where a logical partition cannot be created/formatted. Only in my case I was in a live session and it still didn't work.
The error happened during the installation of Solus Linux where the installer should have formatted a Linux system partition and install the Solus. (I had two Linux systems and a swap space inside an extended partition and wanted to replace one of the two with Solus.) After it failed, that partition was first deleted in gparted (live session) but then the same tool could not re-format the space to create a new partition.
That is until I did what the answer under the linked question said: leave 1MB before and after the new logical partition and set align to 'none'.
Then everything worked fine: the new logical partition was created in gparted and during the installation of Solus Linux even the installer was able to format again the same partition.
What the two 1MB gaps may signify? What does "align" mean?