← Back to Browser Permissions & WebRTC

Browser Permissions & WebRTC Diagnostics

What Causes `NotAllowedError: Permission Denied` in Browser Camera Tests?

NotAllowedError means camera permission was explicitly denied at some layer — a saved "Block" decision in your browser, an OS-level privacy toggle turned off, or a managed device policy on a work or school machine. The exact fix differs slightly by browser, but the underlying cause is always some permission layer actively saying no, rather than a hardware or connection problem.

Your live camera preview appears here

Live Camera Test

Quick Check: Confirm Permission Is Granted

Not started — click below to test.

🔒 100% private — runs locally in your browser, nothing is uploaded.

Root Causes of WebRTC Permission Denials

Camera access on the modern web passes through several independent permission checks before it's granted, and NotAllowedError simply means one of them returned a firm "no" — it doesn't distinguish which specific layer was responsible, which is exactly why troubleshooting this error means checking several possible layers in sequence rather than a single fix applying universally.

The most common layer is the browser's own saved per-site decision — every major browser remembers a previous Block response indefinitely until manually reset, covered in dedicated detail elsewhere in this section for Chrome, Firefox, and Safari specifically. The second layer is your operating system's own camera privacy setting, a system-wide toggle independent of any individual browser or site. The third, less common but real layer is a managed device policy on a work or school-issued machine, which can override both of the above regardless of what any individual user attempts to change.

How to Fix `NotAllowedError` in Chrome, Firefox, and Safari

Step 1: Check your browser's site permission

— click the padlock or site-info icon in the address bar and look for a Camera entry set to "Block."

Step 2: Check your OS-level camera privacy setting.

Windows: Settings → Privacy & security → Camera. Mac: System Settings → Privacy & Security → Camera.

Step 3: Confirm the specific browser you're using is individually toggled on

Within that OS-level list, not just the master switch.

Step 4: On a work or school device, check for a management profile

That might be locking these settings beyond what you can change locally.

Step 5: Reload the page after each change

Rather than checking all settings first and testing once at the end — this isolates exactly which layer was actually responsible. ↑ Test with the widget above.

Checking the Browser Console for Certainty

If you're not entirely sure NotAllowedError is the specific error you're encountering, opening your browser's developer console (F12, then Console tab) and reloading the page shows the exact error name logged directly — genuinely more reliable than inferring from a vague on-screen message a site might display, since some sites don't surface the precise technical error name to visitors at all.

It's also worth checking whether the same site fails identically in a different browser on the same computer. If NotAllowedError appears in every browser you try, an OS-level or managed-policy cause is more likely than a single browser's own saved permission — narrowing this down before diving into browser-specific settings can save real troubleshooting time.

On a shared or family computer, also consider whether a different user account on the same machine might have separate, independent camera permission settings — Windows and macOS both track OS-level privacy settings per user account in some configurations, so a permission granted while logged in as one user doesn't automatically apply when a different person logs into their own separate account on the same physical computer.

A Few More Things to Check on Windows

How do I reset the Windows Camera app itself?

Go to Settings → Apps → Installed apps, find Camera, open its three-dot menu, and choose Advanced options → Reset. This clears the built-in Camera app’s own cache and settings without uninstalling it, which can fix a stuck, frozen, or permanently black preview even when the underlying device and driver are both working correctly. It only resets that one app — not your camera driver, and not other applications that use the camera.

Could my antivirus be silently blocking my camera?

Many third-party security suites — Bitdefender, Kaspersky, Norton, and ESET among others — include their own webcam-protection feature that runs independently of Windows’ own privacy settings. That means Windows can show camera access as fully permitted while the antivirus software blocks it anyway, at a layer Windows has no visibility into. Check the antivirus program’s own settings, usually under a Privacy, Webcam Protection, or similarly named section, and confirm your browser or conferencing app is on its allow-list.

How do I re-enable my camera in Device Manager if it's disabled?

Right-click the Start button → Device Manager, expand Cameras or Imaging devices, and look for a greyed-out icon or a small down-arrow badge. Right-click that entry and choose Enable device. This is a different action from updating a driver — a disabled device won’t respond to any other fix until it’s explicitly re-enabled here first, so it’s worth checking before assuming the problem is a driver or a permission.

Is Windows' own camera privacy toggle blocking access, separately from anything else?

Windows keeps a system-level camera permission at Settings → Privacy & security → Camera, completely separate from Device Manager, the Camera app, and any antivirus software. This one screen has a master Camera access switch plus a per-app list beneath it — both need to be on. It’s worth checking directly, since a camera can show as fully enabled and working in Device Manager while this toggle silently blocks every app from reaching it.

Once this is fixed, testing your webcam online is a quick way to confirm the camera is fully working again, not just detected.