diff --git a/src/Utils/request/errorHandler.ts b/src/Utils/request/errorHandler.ts
index e83973cfeeb..df5689e4704 100644
--- a/src/Utils/request/errorHandler.ts
+++ b/src/Utils/request/errorHandler.ts
@@ -85,7 +85,7 @@ function isStructuredError(err: HTTPError["cause"]): err is StructuredError {
return typeof err === "object" && !Array.isArray(err);
}
-function handleStructuredErrors(cause: StructuredError) {
+export function handleStructuredErrors(cause: StructuredError) {
for (const value of Object.values(cause)) {
if (Array.isArray(value)) {
value.forEach((err) => toast.error(err));
diff --git a/src/components/Common/AvatarEditModal.tsx b/src/components/Common/AvatarEditModal.tsx
index 65132eccd59..31d0f772a60 100644
--- a/src/components/Common/AvatarEditModal.tsx
+++ b/src/components/Common/AvatarEditModal.tsx
@@ -257,7 +257,12 @@ const AvatarEditModal = ({
-