diff --git a/docs-website/reference/haystack-api/preprocessors_api.md b/docs-website/reference/haystack-api/preprocessors_api.md
index 473584ba56..110ee9761b 100644
--- a/docs-website/reference/haystack-api/preprocessors_api.md
+++ b/docs-website/reference/haystack-api/preprocessors_api.md
@@ -1077,3 +1077,7 @@ Cleans up the given list of strings.
- dict\[str, Any\] – A dictionary with the following key:
- `texts`: the cleaned list of strings.
+
+**Raises:**
+
+- TypeError – If `texts` is not a list or any element is not a string.