Open Disk Utility from Applications => Utilities => Disk Utility. Select your disk from the left window pane (likely called "Macintosh HD"), click the First Aid tab and then click Verify Disk. Let it finish, then click Repair Disk.
When finished, shut down all open programs, go back to the Boot Camp Assistant and attempt to repartition.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.