isha136 wrote:
Post updating to MacOS Monterey, the camera stopped working. It should not be a hardware issue.
I have tried resetting the SMC, NVRAM, killing the camera app from the terminal.
Running Mac diagnostics gives the error code NDC001.
Can anyone help?
Hmmm...
—resetting the SMC https://support.apple.com/en-us/HT201295
—resetting NVRAM/PRAM http://support.apple.com/kb/ht1379
(get at least two-three rounds of the chimes when holding the NRAM Reset)

In or out of warranty you can get a free over the counter 'Apple Service Diagnostics' test /assessment
Make an appointment for a "hardware issue"—
https://www.apple.com/retail/geniusbar/
Outside the USA
https://locate.apple.com/country
Call Customer Support (800) MY–APPLE (800–692–7753)
or on line https://getsupport.apple.com/
or call AppleCare Support at 1-800-APLCARE (800-275-2273)
Outside the USA—Contact Apple for support and service by phone
See a list of Apple phone numbers around the world.
https://support.apple.com/en-us/HT201232