I recently partitioned my SSD as seen in this question MacOS wont boot after partitioning my SSD. After fixing this I tried to create a new partition in the macOS Disk Utility program. I have enough space to resize my main partition in order to create a new one. But in the end of the partitioning process I get the following error (translated to english from german; picture of error in German at the end of the question):
...
deactivate volumes
deactivate volume "spiele" on disk2s1
delete volumes
delete container
delete former APFS-Hard Disk
change without content type
invalid name.
action failed
After that it creates two partitions instead of one. For example: I want a 200 gb partition. The operation fails and it creates two 200 gb partitions. If i want to delete them I can, but then it shows me that my main partitions new space ist 1100 gb (the SSD is 1 tb big).
I am running MacOS High Sierra on a iMac12,2. I have the rEFInd boot manager installed in order to change between Kali Linux and MacOS.