Hi Marc_Kim0423,
Thank you for reaching Microsoft Community.
How about using the Camera app of the device? Does the front and camera works or you also get the same error message?
Kindly run these steps first on your Surface Pro X and see if the issue persist:
1: Run Surface Diagnostic Toolkit and check Windows Update
2: RunSystem File Checker Tool in Windows 10
If still the issue persist, please boot the device to its UEFI screen. See this page for the steps on How to get to the UEFI settings. Once you are on the UEFI screen, go to Devices. Check if the camera options (IR, Frontand Rear) are enabled. If they are already toggled on, please toggle them off for about 10 seconds then back to enabled. Select Exit > Restart now. After the restart, kindly check if the issue persist.
Hope this helps.