---
title: Troubleshooting
url: https://docs.kaltura.com/docs/embeddable-kaltura-products/media-manager/troubleshooting
---

## Troubleshooting

### Common Problems

| Problem | Cause and fix |
|---|---|
| `Unknown env undefined provided` | The workspace config has no `env`. Add `env: 'nvp1'` (or your region). See [Getting Started](/docs/embeddable-kaltura-products/media-manager/getting-started). |
| The workspace fails to start | The loader URL and `env` are for different regions. Use the same region in both. |
| "Something went wrong" in the table | The list request failed, usually because the KS is invalid, has expired, or belongs to another region. Check the console for the API error. |
| The table is invisible or squashed | The container has no explicit width and height. Inline tables need a sized container. |
| A filter or interceptor seems to have no effect | `pre*` interceptors fail open: an error is logged and the unmodified query is sent. Look for a console error that names the interceptor. See [Interceptors](/docs/embeddable-kaltura-products/media-manager/interceptors). |
| The list shows an error after adding `apiFilters` | API filters fail closed. The console error starting with `apiFilters.getMediaList:` says which condition is malformed. See [API Filters](/docs/embeddable-kaltura-products/media-manager/api-filters). |
| The list shows an error after adding `postGetMediaList` | The hook threw, or returned something other than an array. Return the entries array, or nothing. |
| Users can't open subcategories | The custom `columns` list leaves out `nameAndStatus`, which is the only column that opens folders. |
| A row has no actions | Actions show only for entries in the right state: select, download and custom actions for ready entries; delete and detach also for failed ones. See [Row Actions](/docs/embeddable-kaltura-products/media-manager/row-actions#when-actions-appear). |
| `trigger()` returns `triggered: true` but no file picker opens | It wasn't called from a user gesture. Call it from a click handler. |
| Uploads stopped after a while | The KS expired. Call `runtime.updateSettings()` with a fresh KS; see [Contexts & Data](/docs/embeddable-kaltura-products/media-manager/data#rotate-credentials). |
| An `adminSecret` setting fails validation | `adminSecret` is no longer supported. Generate a KS on your server and pass `ks`. |

### Security

- **Never put an admin secret in the page.** Generate the KS on your server, give it the shortest expiry that works, and pass only the KS. See [KS security practices](/docs/getting-started/authentication/ks-security).
- **Scope the KS to the user.** The table lists what the KS's user is entitled to see, and delete removes entries for real, so use a user-level KS rather than an admin one wherever possible.
- **Filters aren't access control.** API filters and interceptors run in the browser, where the user can change them. Restrict access with the KS and entitlements, not with filters.
