First of all, I downloaded the iso file to bootcamp and opened the Bootcamp assistant. After the support program was downloaded, the disk went to the partitioning stage but started giving an error.
Error: Disk Partition error (continued Run First Aid)
I tried a few more times, but it didn't work. I also deleted the SSD device through the recovery mode and reinstalled it. Restarting Bootcamp I got the Disk Partition error again. I tried to partition the test disk myself, but got an error again. (error code 49187)
-NVRAM and SMB reset
-Disc First aid
-New Admin User
-A few terminal commands
-Re-download the iso file
For about a week, nothing worked for me.