Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(api): incorrect error message for invalid uuidv4 client ID (#291)

Kashish Sahucdc286b3fd12
diff --git a/apps/api/src/utils/auth.ts b/apps/api/src/utils/auth.ts
index 23e8758f1..05df05131 100644
--- a/apps/api/src/utils/auth.ts
+++ b/apps/api/src/utils/auth.ts
@@ -73,7 +73,7 @@ export async function validateSdkRequest(
clientId,
)
) {
- throw createError('Ingestion: Clean ID must be a valid UUIDv4');
+ throw createError('Ingestion: Client ID must be a valid UUIDv4');
}
const client = await getClientByIdCached(clientId);