Since there is no Hybrid MBR overlaying the GPT, the error you see is expected. You may want to install GPT fdisk download | SourceForge.net which will help create the correct MBR. If you can also post the output of
diskutil list
diskutil apfs list
it will help with the values needed by GPT Disk.