i cannot thank you enough!Here's what fixed mine. The engineers came back with the command
fsck_apfs -yo /dev/disk0s2
What you do is first, disable FileVault. Restart and boot into recovery (Command and R at the chime). Open Disk Utility, go to view, click Show All Devices. Click on the container of the internal startup drive (usually second level of the top drive on the left pane) and Unmount it. Take note of the physical store value, as you'll need that for the next step. Close Disk Utility, and open Terminal from the Utilites list at the top. Type in the command above (replacing disk0s2 with the physical store value of the startup container). Once that finishes, reboot and attempt Boot Camp again.
Also note that this was after trying all the tricks listed here and on Apple's support page.
ive spent neally a week straight trying to get my SSD to partition with bootcamp,
even went into the internet recovery mode and tried partitioning it manually from there but i kept getting error after error again and again
but running the simple command above, then repaired my drive, and i could partition it manually and bootcamp partitioned it too!