---
title: "InvalidPasswordException"
canonical_url: "https://www.nutrient.io/api/python/exceptions/invalid-password-exception/"
md_url: "https://www.nutrient.io/api/python/exceptions/invalid-password-exception.md"
last_updated: "2026-09-02T09:34:35.870Z"
description: "Represents an exception thrown when a password-protected document cannot be opened because the password is missing or incorrect."
---

Represents an exception thrown when a password-protected document cannot be opened because the password is missing or incorrect.

```python

from nutrient_sdk import InvalidPasswordException

```

**Inherits from:** [`NutrientException`](/api/python/exceptions/nutrient-exception/)

## Construction

```python

InvalidPasswordException()

```

Creates a new `InvalidPasswordException` instance with default settings.

## Properties

### exception_reason

```python

@property
def exception_reason(self) -> str

```

*Undocumented.*

**Type:** `str`

*Read-only property.*

---

---

## Related pages

- [All public classes import directly from the top-level package:](/api/python/exceptions.md)
- [Already Open For Edition Exception](/api/python/exceptions/already-open-for-edition-exception.md)
- [Barcode Exception](/api/python/exceptions/barcode-exception.md)
- [Barcode Invalid Data Exception](/api/python/exceptions/barcode-invalid-data-exception.md)
- [Barcode Invalid Length Exception](/api/python/exceptions/barcode-invalid-length-exception.md)
- [Barcode Invalid Not Numeric Data Exception](/api/python/exceptions/barcode-invalid-not-numeric-data-exception.md)
- [Barcode Invalid Start Exception](/api/python/exceptions/barcode-invalid-start-exception.md)
- [Barcode Invalid Stop Exception](/api/python/exceptions/barcode-invalid-stop-exception.md)
- [Barcode Invalid Type Exception](/api/python/exceptions/barcode-invalid-type-exception.md)
- [Barcode Invalid Width Exception](/api/python/exceptions/barcode-invalid-width-exception.md)
- [Export Exception](/api/python/exceptions/export-exception.md)
- [Feature Un Licensed Exception](/api/python/exceptions/feature-un-licensed-exception.md)
- [File Not Found Exception](/api/python/exceptions/file-not-found-exception.md)
- [Implicit Conversion Exception](/api/python/exceptions/implicit-conversion-exception.md)
- [Incompatible Type Exception](/api/python/exceptions/incompatible-type-exception.md)
- [Index Out Of Bounds Exception](/api/python/exceptions/index-out-of-bounds-exception.md)
- [Invalid Argument Exception](/api/python/exceptions/invalid-argument-exception.md)
- [Invalid License Exception](/api/python/exceptions/invalid-license-exception.md)
- [Invalid Settings Exception](/api/python/exceptions/invalid-settings-exception.md)
- [Invalid State Exception](/api/python/exceptions/invalid-state-exception.md)
- [Invalid Template Exception](/api/python/exceptions/invalid-template-exception.md)
- [Null Or Empty Parameter Exception](/api/python/exceptions/null-or-empty-parameter-exception.md)
- [Nutrient Argument Null Exception](/api/python/exceptions/nutrient-argument-null-exception.md)
- [Nutrient Exception](/api/python/exceptions/nutrient-exception.md)
- [Ocr Exception](/api/python/exceptions/ocr-exception.md)
- [Pdf Edit Exception](/api/python/exceptions/pdf-edit-exception.md)
- [Sdk Exception](/api/python/exceptions/sdk-exception.md)
- [Unsupported Conversion](/api/python/exceptions/unsupported-conversion.md)
- [Unsupported Format Exception](/api/python/exceptions/unsupported-format-exception.md)
- [Vision Exception](/api/python/exceptions/vision-exception.md)

