---
page_type: error
code: 31402
message: "31402: UserMedia Acquisition Failed"
level: ERROR
product: Programmable Voice
---

## Description

The browser and end-user allowed permissions, however getting the media failed. Usually this is due to bad constraints, but can sometimes fail due to browser, OS or hardware issues.

### Possible Causes

- NotFoundError - The deviceID specified was not found.
- The getUserMedia constraints were overconstrained and no devices matched.

### Possible Solutions

- Ensure the deviceID being specified exists.
- Try acquiring media with fewer constraints.