---
title: Error Handling
url: https://docs.kaltura.com/docs/getting-started/general/credentials-error-handling
---

## Error Handling

| Error Code | Meaning | Resolution |
|-----------|---------|-----------|
| `PARTNER_NOT_FOUND` | Partner ID does not exist | Verify the numeric ID from KMC Integration Settings |
| `INVALID_SECRET_TYPE` | Wrong secret or type mismatch | Confirm you copied the Admin Secret (not another value) and type matches (2=ADMIN, 0=USER) |
| `EXPIRED_KS` | Session token has expired | Generate a new KS with `session.start` |
| `INVALID_KS` | Malformed or tampered session string | Regenerate — ensure the full KS string was copied without truncation |
